gdb/
* exceptions.c (throw_exception): Don't disable the current display. * printcmd.c (disable_current_display_cleanup): New function. (do_one_display): Install a cleanup to disable the current display if doing the display throws. gdb/testsuite/ * gdb.trace/unavailable.exp (test_maybe_regvar_display): New procedure. (gdb_collect_args_test, gdb_collect_locals_test): Use it.
This commit is contained in:
parent
d989b28323
commit
af6e93b2d1
5 changed files with 59 additions and 1 deletions
|
@ -223,7 +223,6 @@ throw_exception (struct gdb_exception exception)
|
|||
bpstat_clear_actions (tp->control.stop_bpstat);
|
||||
}
|
||||
|
||||
disable_current_display ();
|
||||
do_cleanups (ALL_CLEANUPS);
|
||||
|
||||
/* Jump to the containing catch_errors() call, communicating REASON
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue