aboutsummaryrefslogtreecommitdiff
path: root/gdb/hpux-thread.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/hpux-thread.c')
-rw-r--r--gdb/hpux-thread.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/hpux-thread.c b/gdb/hpux-thread.c
index 8938541..c0614dc 100644
--- a/gdb/hpux-thread.c
+++ b/gdb/hpux-thread.c
@@ -299,7 +299,7 @@ hpux_thread_fetch_registers (int regno)
else
read_memory (sp + regmap[regno], buf, DEPRECATED_REGISTER_RAW_SIZE (regno));
- supply_register (regno, buf);
+ regcache_raw_supply (current_regcache, regno, buf);
}
}