aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorElena Zannoni <ezannoni@kwikemart.cygnus.com>2000-12-19 15:41:07 +0000
committerElena Zannoni <ezannoni@kwikemart.cygnus.com>2000-12-19 15:41:07 +0000
commiteaf90c5d1fae09c938636c273a5f502be1683392 (patch)
tree06e89f504678008ff84d4523f147945dd5367a87 /gdb
parentac1c9d3aad4a9411eef4e01ce8f58140ca858496 (diff)
downloadgdb-eaf90c5d1fae09c938636c273a5f502be1683392.zip
gdb-eaf90c5d1fae09c938636c273a5f502be1683392.tar.gz
gdb-eaf90c5d1fae09c938636c273a5f502be1683392.tar.bz2
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.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/sh-tdep.c2
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);