aboutsummaryrefslogtreecommitdiff
path: root/gdb/i386ly-tdep.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/i386ly-tdep.c')
-rw-r--r--gdb/i386ly-tdep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/i386ly-tdep.c b/gdb/i386ly-tdep.c
index 2374b71..d749dc4 100644
--- a/gdb/i386ly-tdep.c
+++ b/gdb/i386ly-tdep.c
@@ -41,7 +41,7 @@ i386lynx_saved_pc_after_call (struct frame_info *frame)
static const unsigned char call_inst[] =
{ 0x9a, 0, 0, 0, 0, 8, 0 }; /* lcall 0x8,0x0 */
- read_memory_nobpt (frame->pc - 7, opcode, 7);
+ deprecated_read_memory_nobpt (frame->pc - 7, opcode, 7);
if (memcmp (opcode, call_inst, 7) == 0)
return read_memory_unsigned_integer (read_register (SP_REGNUM) + 4, 4);