aboutsummaryrefslogtreecommitdiff
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
commitc6316faa9b49fee02a9b3ae0004e406e453129d8 (patch)
tree49f2f2d09366dc3e32cd3e33ead671eb7adeb1ed /gdb/sparcnbsd-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/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 f63d9e5..ef52746 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)