summaryrefslogtreecommitdiff
path: root/gdb/sparcnbsd-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/sparcnbsd-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/sparcnbsd-nat.c')
-rw-r--r--gdb/sparcnbsd-nat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/sparcnbsd-nat.c b/gdb/sparcnbsd-nat.c
index f63d9e5ace0..ef52746deae 100644
--- a/gdb/sparcnbsd-nat.c
+++ b/gdb/sparcnbsd-nat.c
@@ -39,7 +39,7 @@ getregs_supplies (int regno)
{
return (regno == PS_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)