OSDN Git Service

* generic/gdbtk-interp.c (gdbtk_interpreter_exec): Return struct
authorbje <bje>
Thu, 28 Apr 2005 23:45:06 +0000 (23:45 +0000)
committerbje <bje>
Thu, 28 Apr 2005 23:45:06 +0000 (23:45 +0000)
gdb_exception due to the 2005-04-26 renaming of struct exception.
* generic/gdbtk.c (gdbtk_source_start_file): Likewise.

gdb/gdbtk/ChangeLog
gdb/gdbtk/generic/gdbtk-interp.c
gdb/gdbtk/generic/gdbtk.c

index 8b1d394..ba082d5 100644 (file)
@@ -1,3 +1,9 @@
+2005-04-28  Ben Elliston  <bje@au.ibm.com>
+
+       * 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  <kseitz@sources.redhat.com>
 
        * generic/gdbtk.c (gdbtk_source_start_file): In the _WIN32 case,
index 0c6cb9e..0e66835 100644 (file)
@@ -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;
index 8324f74..778b082 100644 (file)
@@ -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;