aboutsummaryrefslogtreecommitdiff
path: root/gdb/ptx4-nat.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/ptx4-nat.c')
-rw-r--r--gdb/ptx4-nat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/ptx4-nat.c b/gdb/ptx4-nat.c
index 65eef9d..1798b50 100644
--- a/gdb/ptx4-nat.c
+++ b/gdb/ptx4-nat.c
@@ -59,7 +59,7 @@ fill_gregset (gregset_t *gregsetp, int regno)
{
if ((regno == -1) || (regno == regi))
{
- (*gregsetp)[regi] = *(greg_t *) & registers[REGISTER_BYTE (regi)];
+ (*gregsetp)[regi] = *(greg_t *) & deprecated_registers[REGISTER_BYTE (regi)];
}
}
}