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 | 71fff37b08f261319956b121244752a31940b7d3 (patch) | |
tree | 3919050a2c2b657c32f52f83262fb41c2efd6100 /gdb/cli | |
parent | c631edf1cc79aa305924c762642b9160cae94e2d (diff) | |
download | gdb-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/cli')
-rw-r--r-- | gdb/cli/cli-interp.c | 12 | ||||
-rw-r--r-- | gdb/cli/cli-script.c | 2 |
2 files changed, 7 insertions, 7 deletions
diff --git a/gdb/cli/cli-interp.c b/gdb/cli/cli-interp.c index 8893cb1..55d21bd 100644 --- a/gdb/cli/cli-interp.c +++ b/gdb/cli/cli-interp.c @@ -34,8 +34,8 @@ struct ui_out *cli_uiout; /* These are the ui_out and the interpreter for the console interpreter. */ /* Longjmp-safe wrapper for "execute_command". */ -static struct exception safe_execute_command (struct ui_out *uiout, - char *command, int from_tty); +static struct gdb_exception safe_execute_command (struct ui_out *uiout, + char *command, int from_tty); struct captured_execute_command_args { char *command; @@ -92,11 +92,11 @@ cli_interpreter_display_prompt_p (void *data) return 1; } -static struct exception +static struct gdb_exception cli_interpreter_exec (void *data, const char *command_str) { struct ui_file *old_stream; - struct exception result; + struct gdb_exception result; /* FIXME: cagney/2003-02-01: Need to const char *propogate safe_execute_command. */ @@ -122,10 +122,10 @@ do_captured_execute_command (struct ui_out *uiout, void *data) execute_command (args->command, args->from_tty); } -static struct exception +static struct gdb_exception safe_execute_command (struct ui_out *uiout, char *command, int from_tty) { - struct exception e; + struct gdb_exception e; struct captured_execute_command_args args; args.command = command; args.from_tty = from_tty; diff --git a/gdb/cli/cli-script.c b/gdb/cli/cli-script.c index 6d3122b..3d69601 100644 --- a/gdb/cli/cli-script.c +++ b/gdb/cli/cli-script.c @@ -1274,7 +1274,7 @@ script_from_file (FILE *stream, char *file) error_pre_print = ""; { - struct exception e; + struct gdb_exception e; struct wrapped_read_command_file_args args; args.stream = stream; e = catch_exception (uiout, wrapped_read_command_file, &args, |