From 57868fbf1d7d605251bfdfba0a4b11dfad383ba3 Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Tue, 26 Apr 2005 05:03:41 +0000 Subject: 2005-04-26 Andrew Cagney Rename 'struct exception' to 'struct gdb_exception'. * wrapper.c: Update. * varobj.c: Update. * tui/tui-interp.c: Update. * remote.c: Update. * mi/mi-main.c: Update. * mi/mi-interp.c: Update. * linux-thread-db.c: Update. * interps.h: Update. * interps.c: Update. * exceptions.h: Update. * exceptions.c: Update. * dwarf2loc.c: Update. * cli/cli-interp.c: Update. * cli/cli-script.c: Update. * breakpoint.c: Update. --- gdb/mi/mi-interp.c | 6 +++--- gdb/mi/mi-main.c | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'gdb/mi') diff --git a/gdb/mi/mi-interp.c b/gdb/mi/mi-interp.c index 7166f946974..c46640db6e1 100644 --- a/gdb/mi/mi-interp.c +++ b/gdb/mi/mi-interp.c @@ -145,10 +145,10 @@ mi_interpreter_suspend (void *data) return 1; } -static struct exception +static struct gdb_exception mi_interpreter_exec (void *data, const char *command) { - static struct exception ok; + static struct gdb_exception ok; char *tmp = alloca (strlen (command) + 1); strcpy (tmp, command); mi_execute_command_wrapper (tmp); @@ -238,7 +238,7 @@ mi_cmd_interpreter_exec (char *command, char **argv, int argc) and then set it back to 0 when we are done. */ sync_execution = 1; { - struct exception e = interp_exec (interp_to_use, argv[i]); + struct gdb_exception e = interp_exec (interp_to_use, argv[i]); if (e.reason < 0) { mi_error_message = xstrdup (e.message); diff --git a/gdb/mi/mi-main.c b/gdb/mi/mi-main.c index 27080df6904..036c19b2309 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) if (command != NULL) { - struct exception result; + struct gdb_exception result; /* FIXME: cagney/1999-11-04: Can this use of catch_exceptions either be pushed even further down or even eliminated? */ args.command = command; -- cgit v1.2.1