diff options
Diffstat (limited to 'gdb/blockframe.c')
-rw-r--r-- | gdb/blockframe.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/blockframe.c b/gdb/blockframe.c index 84b8cc4..caaecd4 100644 --- a/gdb/blockframe.c +++ b/gdb/blockframe.c @@ -213,8 +213,8 @@ frame_address_in_block (struct frame_info *frame) /* FIXME: cagney/2002-11-10: Should this instead test for NORMAL_FRAME? A dummy frame (in fact all the abnormal frames) save the PC value in the block. */ - if (frame->next != 0 - && get_frame_type (frame->next) != SIGTRAMP_FRAME) + if (get_next_frame (frame) != 0 + && get_frame_type (get_next_frame (frame)) != SIGTRAMP_FRAME) --pc; return pc; |