aboutsummaryrefslogtreecommitdiff
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 cf10ac1..01422a6 100644
--- a/gdb/rom68k-rom.c
+++ b/gdb/rom68k-rom.c
@@ -101,7 +101,7 @@ rom68k_supply_one_register (int regno, unsigned char *hex)
while (is_whitespace (*hex))
hex++;
- store_unsigned_integer (regbuf, DEPRECATED_REGISTER_RAW_SIZE (regno), value);
+ store_unsigned_integer (regbuf, register_size (current_gdbarch, regno), value);
regcache_raw_supply (current_regcache, regno, regbuf);
return hex;