diff options
Diffstat (limited to 'gdb/infrun.c')
-rw-r--r-- | gdb/infrun.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/infrun.c b/gdb/infrun.c index ac15f37..0c3a3e8 100644 --- a/gdb/infrun.c +++ b/gdb/infrun.c @@ -1605,6 +1605,8 @@ restore_inferior_status (inf_status) fid = find_relative_frame (get_current_frame (), &level); + /* If inf_status->selected_frame_address is NULL, there was no + previously selected frame. */ if (fid == 0 || FRAME_FP (fid) != inf_status->selected_frame_address || level != 0) |