diff options
author | Andrew Cagney <cagney@redhat.com> | 2005-01-14 18:55:33 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2005-01-14 18:55:33 +0000 |
commit | 8a076db965ba49f891b959752db7c8bb0c524688 (patch) | |
tree | 6fc269cd6f5141e52b1f098a206ac3d9cf1782d7 /sim/arm | |
parent | bc8332bb44886d189fce38b812d6919a157af734 (diff) | |
download | gdb-8a076db965ba49f891b959752db7c8bb0c524688.zip gdb-8a076db965ba49f891b959752db7c8bb0c524688.tar.gz gdb-8a076db965ba49f891b959752db7c8bb0c524688.tar.bz2 |
2005-01-13 Andrew Cagney <cagney@gnu.org>
* mi/mi-main.c (mi_execute_command): Print the exception.
* cli/cli-interp.c (safe_execute_command): Print the exception.
* exceptions.h (exception_print): Declare.
* exceptions.c (struct catcher): Add field print_message.
(catcher_init): Add parameter print_message, store in the catcher
struct.
(print_and_throw): Only print the message when print_message.
(catch_exceptions_with_msg, catch_errors): Pass print_message=1 to
catcher_init.
(catch_exception): Pass print_message=0 to catcher_init.
Diffstat (limited to 'sim/arm')
0 files changed, 0 insertions, 0 deletions