summaryrefslogtreecommitdiff
path: root/plugins/arm/v7
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/arm/v7')
-rw-r--r--plugins/arm/v7/processor.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/plugins/arm/v7/processor.c b/plugins/arm/v7/processor.c
index 4295b51..5bbe808 100644
--- a/plugins/arm/v7/processor.c
+++ b/plugins/arm/v7/processor.c
@@ -101,6 +101,8 @@ static void g_armv7_processor_class_init(GArmV7ProcessorClass *klass)
object_class->dispose = (GObjectFinalizeFunc/* ! */)g_armv7_processor_dispose;
object_class->finalize = (GObjectFinalizeFunc)g_armv7_processor_finalize;
+ proc->get_ctx = (get_processor_context_fc)g_armv7_processor_get_context;
+
proc->disassemble = (disass_instr_fc)g_armv7_processor_disassemble;
}
@@ -120,7 +122,6 @@ static void g_armv7_processor_class_init(GArmV7ProcessorClass *klass)
static void g_armv7_processor_init(GArmV7Processor *proc)
{
-
GArchProcessor *parent; /* Instance parente */
parent = G_ARCH_PROCESSOR(proc);
@@ -129,12 +130,6 @@ static void g_armv7_processor_init(GArmV7Processor *proc)
parent->memsize = MDS_32_BITS;
parent->inssize = MDS_32_BITS;
-
-
-
- parent->get_ctx = (get_processor_context_fc)g_armv7_processor_get_context;
-
-
}