diff options
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/sh-tdep.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 363d15a..d5a2818 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2000-12-19 Elena Zannoni <ezannoni@kwikemart.cygnus.com> + + * sh-tdep.c (sh_gdbarch_init): Move setting of breakpoint_from_pc + to before switch statement. + 2000-12-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com> * sh-tdep.c (sh_gdbarch_init): Initialize do_registers_info. diff --git a/gdb/sh-tdep.c b/gdb/sh-tdep.c index be93f21..f8681b2 100644 --- a/gdb/sh-tdep.c +++ b/gdb/sh-tdep.c @@ -1919,6 +1919,7 @@ sh_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches) set_gdbarch_fetch_pseudo_register (gdbarch, sh_fetch_pseudo_register); set_gdbarch_store_pseudo_register (gdbarch, sh_store_pseudo_register); set_gdbarch_do_registers_info (gdbarch, sh_do_registers_info); + set_gdbarch_breakpoint_from_pc (gdbarch, sh_breakpoint_from_pc); print_sh_insn = gdb_print_insn_sh; switch (info.bfd_arch_info->mach) @@ -2109,7 +2110,6 @@ sh_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches) set_gdbarch_inner_than (gdbarch, core_addr_lessthan); set_gdbarch_decr_pc_after_break (gdbarch, 0); set_gdbarch_function_start_offset (gdbarch, 0); - set_gdbarch_breakpoint_from_pc (gdbarch, sh_breakpoint_from_pc); set_gdbarch_frame_args_skip (gdbarch, 0); set_gdbarch_frameless_function_invocation (gdbarch, frameless_look_for_prologue); |