2003-09-19 Andrew Cagney <cagney@redhat.com>
authorAndrew Cagney <cagney@redhat.com>
Sat, 20 Sep 2003 03:20:41 +0000 (03:20 +0000)
committerAndrew Cagney <cagney@redhat.com>
Sat, 20 Sep 2003 03:20:41 +0000 (03:20 +0000)
* sparcnbsd-nat.c (getregs_supplies): Rename NPC_REGNUM to
DEPRECATED_NPC_REGNUM.
* sparc64nbsd-nat.c (getregs_supplies): Ditto.

gdb/ChangeLog
gdb/sparc64nbsd-nat.c
gdb/sparcnbsd-nat.c

index d4e9877..5c9a131 100644 (file)
@@ -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.
index 1e68d69..c68b96b 100644 (file)
@@ -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)
index f63d9e5..ef52746 100644 (file)
@@ -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)