This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[ob] Fix missed deprecated NPC_REGNUM
- From: Andrew Cagney <ac131313 at redhat dot com>
- To: gdb-patches at sources dot redhat dot com
- Date: Fri, 19 Sep 2003 23:14:05 -0400
- Subject: [ob] Fix missed deprecated NPC_REGNUM
FYI,
These were missed in my previous NPC_REGNUM purge.
committed,
Andrew
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.
Index: sparc64nbsd-nat.c
===================================================================
RCS file: /cvs/src/src/gdb/sparc64nbsd-nat.c,v
retrieving revision 1.2
diff -u -r1.2 sparc64nbsd-nat.c
--- sparc64nbsd-nat.c 7 Jul 2003 15:56:08 -0000 1.2
+++ sparc64nbsd-nat.c 20 Sep 2003 02:59:42 -0000
@@ -40,7 +40,7 @@
/* 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: sparcnbsd-nat.c
===================================================================
RCS file: /cvs/src/src/gdb/sparcnbsd-nat.c,v
retrieving revision 1.2
diff -u -r1.2 sparcnbsd-nat.c
--- sparcnbsd-nat.c 7 Jul 2003 15:56:08 -0000 1.2
+++ sparcnbsd-nat.c 20 Sep 2003 02:59:42 -0000
@@ -39,7 +39,7 @@
{
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)