aboutsummaryrefslogtreecommitdiff
path: root/gdb/cli/cli-interp.c
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/cli/cli-interp.c
parentc631edf1cc79aa305924c762642b9160cae94e2d (diff)
downloadfsf-binutils-gdb-71fff37b08f261319956b121244752a31940b7d3.zip
fsf-binutils-gdb-71fff37b08f261319956b121244752a31940b7d3.tar.gz
fsf-binutils-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/cli-interp.c')
-rw-r--r--gdb/cli/cli-interp.c12
1 files changed, 6 insertions, 6 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;