From 71fff37b08f261319956b121244752a31940b7d3 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/cli/cli-interp.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'gdb/cli/cli-interp.c') 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; -- cgit v1.1