aboutsummaryrefslogtreecommitdiff
path: root/gdb/remote-st.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/remote-st.c')
-rw-r--r--gdb/remote-st.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/remote-st.c b/gdb/remote-st.c
index 8ae2721..eba847f 100644
--- a/gdb/remote-st.c
+++ b/gdb/remote-st.c
@@ -222,7 +222,7 @@ get_hex_regs (int n, int regno)
val = 0;
for (j = 0; j < 8; j++)
val = (val << 4) + get_hex_digit (j == 0);
- supply_register (regno++, (char *) &val);
+ regcache_raw_supply (current_regcache, regno++, (char *) &val);
}
}