summaryrefslogtreecommitdiff
path: root/gdb/sol-thread.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/sol-thread.c')
-rw-r--r--gdb/sol-thread.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/sol-thread.c b/gdb/sol-thread.c
index 2279b4412f2..fe97f6c5d1d 100644
--- a/gdb/sol-thread.c
+++ b/gdb/sol-thread.c
@@ -597,7 +597,7 @@ sol_thread_store_registers (int regnum)
td_err_string (val));
/* Restore new register value. */
- supply_register (regnum, old_value);
+ regcache_raw_supply (current_regcache, regnum, old_value);
#if 0
/* FIXME: libthread_db doesn't seem to handle this right. */