summaryrefslogtreecommitdiff
path: root/gdb/sparc-tdep.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2003-06-07 16:23:12 +0000
committerAndrew Cagney <cagney@redhat.com>2003-06-07 16:23:12 +0000
commit74f73216d30ce3084f6f9da79d00b382a3f58f23 (patch)
tree13279e544e13349ab7b8c8c11dbd1654716f91c1 /gdb/sparc-tdep.c
parent711c887ffc57780e37b68bc91a67c005f430abab (diff)
downloadgdb-74f73216d30ce3084f6f9da79d00b382a3f58f23.tar.gz
2003-06-07 Andrew Cagney <cagney@redhat.com>
* gdbarch.sh (TARGET_READ_PC): Add predicate, remove default. * gdbarch.h, gdbarch.c: Re-generate. * regcache.c: Update comments on read_pc et.al. (generic_target_read_pc): Delete function. (read_pc_pid): Try TARGET_READ_PC and PC_REGNUM for a PC register. * inferior.h (generic_target_read_pc): Delete declaration. * frv-tdep.c (frv_gdbarch_init): Do not set read_pc to generic_target_read_pc. * sparc-tdep.c (sparc_gdbarch_init): Ditto. * sh-tdep.c (sh_gdbarch_init): Ditto. * rs6000-tdep.c (rs6000_gdbarch_init): Ditto. * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
Diffstat (limited to 'gdb/sparc-tdep.c')
-rw-r--r--gdb/sparc-tdep.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/gdb/sparc-tdep.c b/gdb/sparc-tdep.c
index ccd3a3b5f8b..4b7279c0292 100644
--- a/gdb/sparc-tdep.c
+++ b/gdb/sparc-tdep.c
@@ -3321,7 +3321,6 @@ sparc_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches)
set_gdbarch_deprecated_pop_frame (gdbarch, sparc_pop_frame);
set_gdbarch_deprecated_push_return_address (gdbarch, sparc_push_return_address);
set_gdbarch_deprecated_push_dummy_frame (gdbarch, sparc_push_dummy_frame);
- set_gdbarch_read_pc (gdbarch, generic_target_read_pc);
set_gdbarch_reg_struct_has_addr (gdbarch, sparc_reg_struct_has_addr);
set_gdbarch_return_value_on_stack (gdbarch, sparc_return_value_on_stack);
set_gdbarch_deprecated_saved_pc_after_call (gdbarch, sparc_saved_pc_after_call);