Add more checks for no stack frame.

This commit is contained in:
Andrew Cagney
2000-02-29 07:17:15 +00:00
parent 40d109bfbc
commit d082b2bb92
3 changed files with 14 additions and 1 deletions

View File

@@ -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;