2000-12-19 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
authorElena Zannoni <ezannoni@kwikemart.cygnus.com>
Tue, 19 Dec 2000 15:41:07 +0000 (15:41 +0000)
committerElena Zannoni <ezannoni@kwikemart.cygnus.com>
Tue, 19 Dec 2000 15:41:07 +0000 (15:41 +0000)
* sh-tdep.c (sh_gdbarch_init): Move setting of breakpoint_from_pc
to before switch statement.

gdb/ChangeLog
gdb/sh-tdep.c

index 363d15a9f31b2c23dbcfbc20b1d447ad5276ef22..d5a28189641ce25afd1ba5bab7e3f37f1688854a 100644 (file)
@@ -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.
index be93f21e43c9d86d0e2f9b1286cebdd84bc48ea4..f8681b2d4f903d2e4cfece6ef00a36baf79f5beb 100644 (file)
@@ -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);