aboutsummaryrefslogtreecommitdiff
path: root/gdb/sh-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
commitcde9ea48081fcfec378c5b6e22e3d4b41fa3e2ad (patch)
tree24e4d2d6b34cd315e91db8e9b382e74eb279a1aa /gdb/sh-tdep.c
parent9a90a78063be817c7fa1b4548ca8fd4c7ca8e843 (diff)
downloadgdb-cde9ea48081fcfec378c5b6e22e3d4b41fa3e2ad.zip
gdb-cde9ea48081fcfec378c5b6e22e3d4b41fa3e2ad.tar.gz
gdb-cde9ea48081fcfec378c5b6e22e3d4b41fa3e2ad.tar.bz2
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/sh-tdep.c')
-rw-r--r--gdb/sh-tdep.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/gdb/sh-tdep.c b/gdb/sh-tdep.c
index 57c3f48..af23ffb 100644
--- a/gdb/sh-tdep.c
+++ b/gdb/sh-tdep.c
@@ -4637,7 +4637,6 @@ sh_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches)
break;
}
- set_gdbarch_read_pc (gdbarch, generic_target_read_pc);
set_gdbarch_write_pc (gdbarch, generic_target_write_pc);
set_gdbarch_read_sp (gdbarch, generic_target_read_sp);
set_gdbarch_deprecated_dummy_write_sp (gdbarch, generic_target_write_sp);