aboutsummaryrefslogtreecommitdiff
path: root/gdb/mipsv4-nat.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/mipsv4-nat.c')
-rw-r--r--gdb/mipsv4-nat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/mipsv4-nat.c b/gdb/mipsv4-nat.c
index 75956c1..5229fd5 100644
--- a/gdb/mipsv4-nat.c
+++ b/gdb/mipsv4-nat.c
@@ -63,7 +63,7 @@ supply_gregset (gregset_t *gregsetp)
(char *) (regp + CXT_CAUSE));
/* Fill inaccessible registers with zero. */
- regcache_raw_supply (current_regcache, PS_REGNUM, zerobuf);
+ regcache_raw_supply (current_regcache, MIPS_PS_REGNUM, zerobuf);
regcache_raw_supply (current_regcache,
mips_regnum (current_gdbarch)->badvaddr,
zerobuf);