aboutsummaryrefslogtreecommitdiff
path: root/gdb/vax-tdep.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/vax-tdep.c')
-rw-r--r--gdb/vax-tdep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/vax-tdep.c b/gdb/vax-tdep.c
index 359029d..d3deda6 100644
--- a/gdb/vax-tdep.c
+++ b/gdb/vax-tdep.c
@@ -239,7 +239,7 @@ vax_frame_chain (struct frame_info *frame)
{
/* In the case of the VAX, the frame's nominal address is the FP value,
and 12 bytes later comes the saved previous FP value as a 4-byte word. */
- if (inside_entry_file (frame->pc))
+ if (inside_entry_file (get_frame_pc (frame)))
return (0);
return (read_memory_integer (frame->frame + 12, 4));