projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Check for NULL selected_frame in various places.
[deliverable/binutils-gdb.git]
/
gdb
/
infrun.c
diff --git
a/gdb/infrun.c
b/gdb/infrun.c
index ac15f37d10938ea988a5a598e5a755fbfd66ad42..0c3a3e80e99e4d548bc21d0dc2665e573ed42eb6 100644
(file)
--- 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)
This page took
0.022453 seconds
and
4
git commands to generate.