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 | d082b2bb9259bf3063b43a9dd7e33188172627e4 (patch) | |
tree | 5a5f355ec67292c51b8fed903481ad481d662bf3 /gdb/infrun.c | |
parent | 40d109bfbc1e7666dedf73f61ef7592c8d272e42 (diff) | |
download | gdb-d082b2bb9259bf3063b43a9dd7e33188172627e4.zip gdb-d082b2bb9259bf3063b43a9dd7e33188172627e4.tar.gz gdb-d082b2bb9259bf3063b43a9dd7e33188172627e4.tar.bz2 |
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 2a3a1c8..96a659e 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; |