aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdbarch.h
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2004-01-17 18:24:15 +0000
committerAndrew Cagney <cagney@redhat.com>2004-01-17 18:24:15 +0000
commitafb18d0f3dcc99608b41b805fea3526653cee1e3 (patch)
treeaba70ff4892c8c745208b8a29a297fbd0de92f10 /gdb/gdbarch.h
parenta698f53eb944ed6e48c6f14987ae99d8de99ab1a (diff)
downloadgdb-afb18d0f3dcc99608b41b805fea3526653cee1e3.zip
gdb-afb18d0f3dcc99608b41b805fea3526653cee1e3.tar.gz
gdb-afb18d0f3dcc99608b41b805fea3526653cee1e3.tar.bz2
2004-01-17 Andrew Cagney <cagney@redhat.com>
* gdbarch.sh (DEPRECATED_NPC_REGNUM): Delete. * gdbarch.h, gdbarch.c: Re-generate. * procfs.c (procfs_fetch_registers): Delete reference to DEPRECATED_NPC_REGNUM. (procfs_store_registers): Ditto. * regcache.c (generic_target_write_pc): Simplify. * lynx-nat.c: Delete #ifdef SPARC code. Not used. Index: doc/ChangeLog 2004-01-17 Andrew Cagney <cagney@redhat.com> * gdbint.texinfo (Target Architecture Definition): Delete documentation on DEPRECATED_NPC_REGNUM.
Diffstat (limited to 'gdb/gdbarch.h')
-rw-r--r--gdb/gdbarch.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/gdb/gdbarch.h b/gdb/gdbarch.h
index a9df675..83ac8ee 100644
--- a/gdb/gdbarch.h
+++ b/gdb/gdbarch.h
@@ -376,18 +376,6 @@ extern void set_gdbarch_fp0_regnum (struct gdbarch *gdbarch, int fp0_regnum);
#define FP0_REGNUM (gdbarch_fp0_regnum (current_gdbarch))
#endif
-/* Replace DEPRECATED_NPC_REGNUM with an implementation of WRITE_PC
- that updates PC, NPC and even NNPC. */
-
-extern int gdbarch_deprecated_npc_regnum (struct gdbarch *gdbarch);
-extern void set_gdbarch_deprecated_npc_regnum (struct gdbarch *gdbarch, int deprecated_npc_regnum);
-#if (GDB_MULTI_ARCH > GDB_MULTI_ARCH_PARTIAL) && defined (DEPRECATED_NPC_REGNUM)
-#error "Non multi-arch definition of DEPRECATED_NPC_REGNUM"
-#endif
-#if !defined (DEPRECATED_NPC_REGNUM)
-#define DEPRECATED_NPC_REGNUM (gdbarch_deprecated_npc_regnum (current_gdbarch))
-#endif
-
/* Convert stab register number (from `r' declaration) to a gdb REGNUM. */
typedef int (gdbarch_stab_reg_to_regnum_ftype) (int stab_regnr);