2011-08-04 Pedro Alves <pedro@codesourcery.com>
authorPedro Alves <palves@redhat.com>
Thu, 4 Aug 2011 18:19:27 +0000 (18:19 +0000)
committerPedro Alves <palves@redhat.com>
Thu, 4 Aug 2011 18:19:27 +0000 (18:19 +0000)
commitf9679975a3374a650ce5ffc8a512b85d662bfcbf
treedcae2ee7ee8e1f89c9f3ee86d72978e328ddef8e
parenta1e28cb2af1ec61d0dea8c9280e52e7153df2df8
2011-08-04  Pedro Alves  <pedro@codesourcery.com>

* exceptions.c (struct catcher): Remove saved_uiout field.
(exceptions_state_mc_init): Remove the `func_uiout' parameter, and
no longer save/resvore the global ui_out builder.
(catch_exceptions_with_msg): Save/override/restore the global
ui_out builder manually instead of relying on TRY_CATCH to do it.
(catch_errors): Save/restore the global ui_out builder manually
instead of relying on TRY_CATCH to do it.
* exceptions.h (exceptions_state_mc_init): Remove the `func_uiout'
parameter.
(TRY_CATCH): Adjust.
* cli/cli-interp.c (safe_execute_command): Save/override/restore
the global ui_out builder manually instead of relying on TRY_CATCH
to do it.
gdb/ChangeLog
gdb/cli/cli-interp.c
gdb/exceptions.c
gdb/exceptions.h