2003-06-07 Andrew Cagney <cagney@redhat.com>
authorAndrew Cagney <cagney@redhat.com>
Sat, 7 Jun 2003 16:23:12 +0000 (16:23 +0000)
committerAndrew Cagney <cagney@redhat.com>
Sat, 7 Jun 2003 16:23:12 +0000 (16:23 +0000)
commitcde9ea48081fcfec378c5b6e22e3d4b41fa3e2ad
tree24e4d2d6b34cd315e91db8e9b382e74eb279a1aa
parent9a90a78063be817c7fa1b4548ca8fd4c7ca8e843
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.
gdb/ChangeLog
gdb/frv-tdep.c
gdb/gdbarch.c
gdb/gdbarch.h
gdb/gdbarch.sh
gdb/inferior.h
gdb/m68hc11-tdep.c
gdb/regcache.c
gdb/rs6000-tdep.c
gdb/sh-tdep.c
gdb/sparc-tdep.c