From: Elena Zannoni Date: Tue, 19 Dec 2000 15:41:07 +0000 (+0000) Subject: 2000-12-19 Elena Zannoni X-Git-Tag: newlib-1_9_0~238 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=eaf90c5d1fae09c938636c273a5f502be1683392;p=external%2Fbinutils.git 2000-12-19 Elena Zannoni * sh-tdep.c (sh_gdbarch_init): Move setting of breakpoint_from_pc to before switch statement. --- 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 + + * sh-tdep.c (sh_gdbarch_init): Move setting of breakpoint_from_pc + to before switch statement. + 2000-12-17 Elena Zannoni * 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);