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.
This commit is contained in:
Andrew Cagney
2005-04-26 05:03:41 +00:00
parent c631edf1cc
commit 71fff37b08
16 changed files with 90 additions and 70 deletions

View File

@ -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;

View File

@ -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,