aboutsummaryrefslogtreecommitdiff
path: root/gdb/sparc64nbsd-nat.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2003-09-20 03:20:41 +0000
committerAndrew Cagney <cagney@redhat.com>2003-09-20 03:20:41 +0000
commitc6316faa9b49fee02a9b3ae0004e406e453129d8 (patch)
tree49f2f2d09366dc3e32cd3e33ead671eb7adeb1ed /gdb/sparc64nbsd-nat.c
parent32470760e9475763d4bac42d39b5ed191bd96ff5 (diff)
downloadgdb-c6316faa9b49fee02a9b3ae0004e406e453129d8.zip
gdb-c6316faa9b49fee02a9b3ae0004e406e453129d8.tar.gz
gdb-c6316faa9b49fee02a9b3ae0004e406e453129d8.tar.bz2
2003-09-19 Andrew Cagney <cagney@redhat.com>
* sparcnbsd-nat.c (getregs_supplies): Rename NPC_REGNUM to DEPRECATED_NPC_REGNUM. * sparc64nbsd-nat.c (getregs_supplies): Ditto.
Diffstat (limited to 'gdb/sparc64nbsd-nat.c')
-rw-r--r--gdb/sparc64nbsd-nat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/sparc64nbsd-nat.c b/gdb/sparc64nbsd-nat.c
index 1e68d69..c68b96b 100644
--- a/gdb/sparc64nbsd-nat.c
+++ b/gdb/sparc64nbsd-nat.c
@@ -40,7 +40,7 @@ getregs_supplies (int regno)
/* FIXME: PS_REGNUM for 32-bit code. */
return (regno == TSTATE_REGNUM
|| regno == PC_REGNUM
- || regno == NPC_REGNUM
+ || regno == DEPRECATED_NPC_REGNUM
|| regno == Y_REGNUM
|| (regno >= G0_REGNUM && regno <= G7_REGNUM)
|| (regno >= O0_REGNUM && regno <= O7_REGNUM)