aboutsummaryrefslogtreecommitdiff
path: root/gdb/remote-vxsparc.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/remote-vxsparc.c')
-rw-r--r--gdb/remote-vxsparc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/remote-vxsparc.c b/gdb/remote-vxsparc.c
index c18f91a..339b99f 100644
--- a/gdb/remote-vxsparc.c
+++ b/gdb/remote-vxsparc.c
@@ -157,7 +157,7 @@ vx_write_register (int regno)
if (regno >= 0)
{
if ((G0_REGNUM <= regno && regno <= I7_REGNUM)
- || (Y_REGNUM <= regno && regno <= NPC_REGNUM))
+ || (Y_REGNUM <= regno && regno <= DEPRECATED_NPC_REGNUM))
in_fp_regs = 0;
else
in_gp_regs = 0;