From af6e93b2d14b2a15c1b608aeecf95f29a8682b17 Mon Sep 17 00:00:00 2001 From: Pedro Alves Date: Fri, 5 Aug 2011 15:17:59 +0000 Subject: 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. --- gdb/exceptions.c | 1 - 1 file changed, 1 deletion(-) (limited to 'gdb/exceptions.c') diff --git a/gdb/exceptions.c b/gdb/exceptions.c index 23a85fe..559e8ed 100644 --- a/gdb/exceptions.c +++ b/gdb/exceptions.c @@ -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 -- cgit v1.1