From 0ea5b2a8442725e1b552d582586dbae8489d513e Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Sat, 20 Sep 2003 03:20:41 +0000 Subject: [PATCH] 2003-09-19 Andrew Cagney * sparcnbsd-nat.c (getregs_supplies): Rename NPC_REGNUM to DEPRECATED_NPC_REGNUM. * sparc64nbsd-nat.c (getregs_supplies): Ditto. --- gdb/ChangeLog | 6 ++++++ gdb/sparc64nbsd-nat.c | 2 +- gdb/sparcnbsd-nat.c | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index d4e9877a7a..5c9a13121e 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,9 @@ +2003-09-19 Andrew Cagney + + * sparcnbsd-nat.c (getregs_supplies): Rename NPC_REGNUM to + DEPRECATED_NPC_REGNUM. + * sparc64nbsd-nat.c (getregs_supplies): Ditto. + 2003-09-19 Christopher Faylor * win32-nat.c (mappings): Remove HAVE_SSE conditional. diff --git a/gdb/sparc64nbsd-nat.c b/gdb/sparc64nbsd-nat.c index 1e68d6961a..c68b96b6a7 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 f63d9e5ace..ef52746dea 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) -- 2.11.0