aboutsummaryrefslogtreecommitdiff
path: root/gdb/mi
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2005-04-26 05:03:41 +0000
committerAndrew Cagney <cagney@redhat.com>2005-04-26 05:03:41 +0000
commit71fff37b08f261319956b121244752a31940b7d3 (patch)
tree3919050a2c2b657c32f52f83262fb41c2efd6100 /gdb/mi
parentc631edf1cc79aa305924c762642b9160cae94e2d (diff)
downloadgdb-71fff37b08f261319956b121244752a31940b7d3.zip
gdb-71fff37b08f261319956b121244752a31940b7d3.tar.gz
gdb-71fff37b08f261319956b121244752a31940b7d3.tar.bz2
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.c6
-rw-r--r--gdb/mi/mi-main.c2
2 files changed, 4 insertions, 4 deletions
diff --git a/gdb/mi/mi-interp.c b/gdb/mi/mi-interp.c
index 7166f94..c46640d 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 27080df..036c19b 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;