diff options
Diffstat (limited to 'gdb/m68k-tdep.c')
-rw-r--r-- | gdb/m68k-tdep.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/gdb/m68k-tdep.c b/gdb/m68k-tdep.c index 31e8e66..f390c48 100644 --- a/gdb/m68k-tdep.c +++ b/gdb/m68k-tdep.c @@ -252,7 +252,7 @@ m68k_deprecated_extract_struct_value_address (char *regbuf) static void m68k_store_return_value (struct type *type, char *valbuf) { - write_register_bytes (0, valbuf, TYPE_LENGTH (type)); + deprecated_write_register_bytes (0, valbuf, TYPE_LENGTH (type)); } /* Describe the pointer in each stack frame to the previous stack frame @@ -463,7 +463,7 @@ m68k_push_dummy_frame (void) this target or not. */ for (regnum = FP0_REGNUM + 7; regnum >= FP0_REGNUM; regnum--) { - read_register_bytes (REGISTER_BYTE (regnum), raw_buffer, 12); + deprecated_read_register_bytes (REGISTER_BYTE (regnum), raw_buffer, 12); sp = push_bytes (sp, raw_buffer, 12); } @@ -493,7 +493,8 @@ m68k_pop_frame (void) if (frame->saved_regs[regnum]) { read_memory (frame->saved_regs[regnum], raw_buffer, 12); - write_register_bytes (REGISTER_BYTE (regnum), raw_buffer, 12); + deprecated_write_register_bytes (REGISTER_BYTE (regnum), raw_buffer, + 12); } } for (regnum = FP_REGNUM - 1; regnum >= 0; regnum--) |