aboutsummaryrefslogtreecommitdiff
path: root/gdb/i386-tdep.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/i386-tdep.c')
-rw-r--r--gdb/i386-tdep.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/i386-tdep.c b/gdb/i386-tdep.c
index 3a90bc0..5a19308 100644
--- a/gdb/i386-tdep.c
+++ b/gdb/i386-tdep.c
@@ -535,8 +535,8 @@ static CORE_ADDR
i386_frame_saved_pc (struct frame_info *frame)
{
if (PC_IN_CALL_DUMMY (frame->pc, 0, 0))
- return generic_read_register_dummy (frame->pc, frame->frame,
- PC_REGNUM);
+ return deprecated_read_register_dummy (frame->pc, frame->frame,
+ PC_REGNUM);
if (frame->signal_handler_caller)
return i386_sigtramp_saved_pc (frame);