aboutsummaryrefslogtreecommitdiff
path: root/gdb
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
parent32470760e9475763d4bac42d39b5ed191bd96ff5 (diff)
downloadfsf-binutils-gdb-c6316faa9b49fee02a9b3ae0004e406e453129d8.zip
fsf-binutils-gdb-c6316faa9b49fee02a9b3ae0004e406e453129d8.tar.gz
fsf-binutils-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')
-rw-r--r--gdb/ChangeLog6
-rw-r--r--gdb/sparc64nbsd-nat.c2
-rw-r--r--gdb/sparcnbsd-nat.c2
3 files changed, 8 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index d4e9877..5c9a131 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,9 @@
+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.
+
2003-09-19 Christopher Faylor <cgf@redhat.com>
* win32-nat.c (mappings): Remove HAVE_SSE conditional.
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)
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)