diff options
author | Andrew Cagney <cagney@redhat.com> | 2000-02-29 07:17:15 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2000-02-29 07:17:15 +0000 |
commit | 1b4ed867e6fb4c7c2319dccb3a637ac8ccb1e9a3 (patch) | |
tree | f5253c8dd86d6ad042b4a0afc542abf2a86e0a24 /gdb/infrun.c | |
parent | b80cd228589e3c94bd33072fd3f5a5a16ca8d6dc (diff) | |
download | gdb-1b4ed867e6fb4c7c2319dccb3a637ac8ccb1e9a3.tar.gz |
Add more checks for no stack frame.
Diffstat (limited to 'gdb/infrun.c')
-rw-r--r-- | gdb/infrun.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/infrun.c b/gdb/infrun.c index 2a3a1c8f99a..96a659ebf4a 100644 --- a/gdb/infrun.c +++ b/gdb/infrun.c @@ -3429,7 +3429,8 @@ The same program may be running in another process.\n"); bpstat_print() contains the logic deciding in detail what to print, based on the event(s) that just occurred. */ - if (stop_print_frame) + if (stop_print_frame + && selected_frame) { int bpstat_ret; int source_flag; |