This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Fix gdbtk build breakage


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;

Attachment: signature.asc
Description: OpenPGP digital signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]