From: bje Date: Thu, 28 Apr 2005 23:45:06 +0000 (+0000) Subject: * generic/gdbtk-interp.c (gdbtk_interpreter_exec): Return struct X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=046a7b560c3d8657644d8e35b73ac8dbbf7ba860;p=pf3gnuchains%2Fpf3gnuchains3x.git * generic/gdbtk-interp.c (gdbtk_interpreter_exec): Return struct gdb_exception due to the 2005-04-26 renaming of struct exception. * generic/gdbtk.c (gdbtk_source_start_file): Likewise. --- diff --git a/gdb/gdbtk/ChangeLog b/gdb/gdbtk/ChangeLog index 8b1d3940bd..ba082d5b7b 100644 --- a/gdb/gdbtk/ChangeLog +++ b/gdb/gdbtk/ChangeLog @@ -1,3 +1,9 @@ +2005-04-28 Ben Elliston + + * generic/gdbtk-interp.c (gdbtk_interpreter_exec): Return struct + gdb_exception due to the 2005-04-26 renaming of struct exception. + * generic/gdbtk.c (gdbtk_source_start_file): Likewise. + 2005-02-25 Keith Seitz * generic/gdbtk.c (gdbtk_source_start_file): In the _WIN32 case, diff --git a/gdb/gdbtk/generic/gdbtk-interp.c b/gdb/gdbtk/generic/gdbtk-interp.c index 0c6cb9ec9e..0e668352f3 100644 --- a/gdb/gdbtk/generic/gdbtk-interp.c +++ b/gdb/gdbtk/generic/gdbtk-interp.c @@ -113,7 +113,7 @@ gdbtk_interpreter_display_prompt_p (void *data) return 1; } -static struct exception +static struct gdb_exception gdbtk_interpreter_exec (void *data, const char *command_str) { return exception_none; diff --git a/gdb/gdbtk/generic/gdbtk.c b/gdb/gdbtk/generic/gdbtk.c index 8324f74c6b..778b082c4b 100644 --- a/gdb/gdbtk/generic/gdbtk.c +++ b/gdb/gdbtk/generic/gdbtk.c @@ -635,7 +635,7 @@ gdbtk_find_main"; get to see the failure reason. */ MessageBox (NULL, msg, NULL, MB_OK | MB_ICONERROR | MB_TASKMODAL); { - struct exception e; + struct gdb_exception e; e.reason = RETURN_ERROR; e.error = GENERIC_ERROR; e.message = msg;