diff options
Diffstat (limited to 'gdb/arm-wince-tdep.c')
-rw-r--r-- | gdb/arm-wince-tdep.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/gdb/arm-wince-tdep.c b/gdb/arm-wince-tdep.c index b1e1304..f14c8e8 100644 --- a/gdb/arm-wince-tdep.c +++ b/gdb/arm-wince-tdep.c @@ -135,7 +135,7 @@ arm_wince_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch) set_gdbarch_skip_trampoline_code (gdbarch, arm_pe_skip_trampoline_code); /* Single stepping. */ - set_gdbarch_software_single_step (gdbarch, arm_software_single_step); + set_gdbarch_get_next_pcs (gdbarch, arm_software_single_step); /* Skip call to __gccmain that gcc places in main. */ set_gdbarch_skip_main_prologue (gdbarch, arm_wince_skip_main_prologue); @@ -152,9 +152,7 @@ arm_wince_osabi_sniffer (bfd *abfd) return GDB_OSABI_UNKNOWN; } -void _initialize_arm_wince_tdep (); -void -_initialize_arm_wince_tdep () +INIT_GDB_FILE (arm_wince_tdep) { gdbarch_register_osabi_sniffer (bfd_arch_arm, bfd_target_coff_flavour, arm_wince_osabi_sniffer); |