summaryrefslogtreecommitdiff
path: root/gdb/rom68k-rom.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/rom68k-rom.c')
-rw-r--r--gdb/rom68k-rom.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/rom68k-rom.c b/gdb/rom68k-rom.c
index 2ddba0acf5b..cf10ac171ba 100644
--- a/gdb/rom68k-rom.c
+++ b/gdb/rom68k-rom.c
@@ -102,7 +102,7 @@ rom68k_supply_one_register (int regno, unsigned char *hex)
hex++;
store_unsigned_integer (regbuf, DEPRECATED_REGISTER_RAW_SIZE (regno), value);
- supply_register (regno, regbuf);
+ regcache_raw_supply (current_regcache, regno, regbuf);
return hex;
}