diff options
author | Andrew Cagney <cagney@redhat.com> | 2005-04-26 05:03:41 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2005-04-26 05:03:41 +0000 |
commit | 57868fbf1d7d605251bfdfba0a4b11dfad383ba3 (patch) | |
tree | 89dc292e8c1027c8958e5fae2d1585783a17c95e /gdb/mi | |
parent | 62cd416ebd7f52fa0187b8b8e7e71a4669490005 (diff) | |
download | gdb-57868fbf1d7d605251bfdfba0a4b11dfad383ba3.tar.gz |
2005-04-26 Andrew Cagney <cagney@gnu.org>
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.
Diffstat (limited to 'gdb/mi')
-rw-r--r-- | gdb/mi/mi-interp.c | 6 | ||||
-rw-r--r-- | gdb/mi/mi-main.c | 2 |
2 files changed, 4 insertions, 4 deletions
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; |