gdb/
authorPedro Alves <palves@redhat.com>
Fri, 5 Aug 2011 15:17:59 +0000 (15:17 +0000)
committerPedro Alves <palves@redhat.com>
Fri, 5 Aug 2011 15:17:59 +0000 (15:17 +0000)
commitaf6e93b2d14b2a15c1b608aeecf95f29a8682b17
tree6d404792f4e4361bba5692b5abc02a98f05c2250
parentd989b283238d3aeffa567106ec2d75d4cdf1827b
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/ChangeLog
gdb/exceptions.c
gdb/printcmd.c
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.trace/unavailable.exp