summaryrefslogtreecommitdiff
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
commit0ea5b2a8442725e1b552d582586dbae8489d513e (patch)
tree0da4e34754fa8c0217b06a4b053090a55c685b3b /gdb/sparc64nbsd-nat.c
parent7fa24748bf457ede0b31a099eb30f95dbd347f3d (diff)
downloadgdb-0ea5b2a8442725e1b552d582586dbae8489d513e.tar.gz
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 1e68d6961a9..c68b96b6a73 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)