aboutsummaryrefslogtreecommitdiff
path: root/gdb/irix5-nat.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/irix5-nat.c')
-rw-r--r--gdb/irix5-nat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/irix5-nat.c b/gdb/irix5-nat.c
index a7b64dc..ff23a9a 100644
--- a/gdb/irix5-nat.c
+++ b/gdb/irix5-nat.c
@@ -255,7 +255,7 @@ fetch_core_registers (char *core_reg_sect, unsigned core_reg_size,
for (regno = 0; regno < NUM_REGS; regno++)
{
- regcache_raw_write (current_regcache, regno, srcp);
+ regcache_raw_supply (current_regcache, regno, srcp);
srcp += regsize;
}
}