aboutsummaryrefslogtreecommitdiff
path: root/gdb/mi
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2005-01-14 22:59:36 +0000
committerAndrew Cagney <cagney@redhat.com>2005-01-14 22:59:36 +0000
commit9cbc821d4e761ccb7164c704f4299160e72b4d08 (patch)
tree0e5fafb2b596bfb20c0adf31b69f68af17cc9185 /gdb/mi
parentdf227444e2db8b4acfe7cd64263580798bd9f4cc (diff)
downloadgdb-9cbc821d4e761ccb7164c704f4299160e72b4d08.zip
gdb-9cbc821d4e761ccb7164c704f4299160e72b4d08.tar.gz
gdb-9cbc821d4e761ccb7164c704f4299160e72b4d08.tar.bz2
2005-01-14 Andrew Cagney <cagney@gnu.org>
* exceptions.h (exception_fprintf): Declare. (exception_print): Drop pre_print parameter. * mi/mi-main.c (mi_execute_command): Update exception_print call. * cli/cli-interp.c (safe_execute_command): Update exception_print call. * remote.c (remote_open_1): Instead of passing an error prefix to catch_exceptions, use catch_exceptions and exception_fprintf. (remote_start_remote): Change return type to void. * breakpoint.c (insert_bp_location): Instead of passing an error prefix to catch_exceptions, use catch_exceptions and exception_fprintf. (insert_catchpoint): Change return type to void. (break_command_1): Update exception_print call. * exceptions.c (exception_fprintf): New function. (print_exception): New function. (exception_print): Use print_exception.
Diffstat (limited to 'gdb/mi')
-rw-r--r--gdb/mi/mi-main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/mi/mi-main.c b/gdb/mi/mi-main.c
index bd45cd5..7351d1e 100644
--- a/gdb/mi/mi-main.c
+++ b/gdb/mi/mi-main.c
@@ -1156,7 +1156,7 @@ mi_execute_command (char *cmd, int from_tty)
args.command = command;
result = catch_exception (uiout, captured_mi_execute_command, &args,
RETURN_MASK_ALL);
- exception_print (gdb_stderr, NULL, result);
+ exception_print (gdb_stderr, result);
if (args.action == EXECUTE_COMMAND_SUPRESS_PROMPT)
{