diff options
Diffstat (limited to 'gdb/dummy-frame.c')
-rw-r--r-- | gdb/dummy-frame.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/dummy-frame.c b/gdb/dummy-frame.c index 727d5084993..deed9c3ebcf 100644 --- a/gdb/dummy-frame.c +++ b/gdb/dummy-frame.c @@ -106,7 +106,7 @@ struct dummy_frame * cached_find_dummy_frame (struct frame_info *frame, void **cache) { if ((*cache) == NULL) - (*cache) = find_dummy_frame (frame->pc, get_frame_base (frame)); + (*cache) = find_dummy_frame (get_frame_pc (frame), get_frame_base (frame)); return (*cache); } |