Fix gdbtk build breakage

Ben Elliston bje@au1.ibm.com
Thu Apr 28 01:33:00 GMT 2005


This fixes a gdbtk build breakage.  Okay for mainline?


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.

Index: gdbtk-interp.c
===================================================================
RCS file: /home/bje/src-cvs/src/gdb/gdbtk/generic/gdbtk-interp.c,v
retrieving revision 1.5
diff -u -p -r1.5 gdbtk-interp.c
--- gdbtk-interp.c      18 Jan 2005 00:14:39 -0000      1.5
+++ gdbtk-interp.c      28 Apr 2005 01:31:08 -0000
@@ -113,7 +113,7 @@ gdbtk_interpreter_display_prompt_p (void
   return 1;
 }

-static struct exception
+static struct gdb_exception
 gdbtk_interpreter_exec (void *data, const char *command_str)
 {
   return exception_none;
Index: gdbtk.c
===================================================================
RCS file: /home/bje/src-cvs/src/gdb/gdbtk/generic/gdbtk.c,v
retrieving revision 1.41
diff -u -p -r1.41 gdbtk.c
--- gdbtk.c     25 Feb 2005 22:23:25 -0000      1.41
+++ gdbtk.c     28 Apr 2005 01:31:08 -0000
@@ -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;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 256 bytes
Desc: OpenPGP digital signature
URL: <http://sourceware.org/pipermail/insight/attachments/20050428/6c7a947b/attachment.sig>


More information about the Insight mailing list