This is the mail archive of the gdb-patches@sourceware.org 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]

[PATCH, GDB6.8] Build error on MinGW with mips-elf target


These patches fix a build error with MinGW when building a mips-elf target.
Could someone commit them for me? Do I need to submit a seperate patch
for mainline?

Regards,

Hans Kester


Index: sim/ChangeLog
===================================================================
RCS file: /cvs/src/src/sim/ChangeLog,v
retrieving revision 1.98
diff -u -r1.98 ChangeLog
@@ -1,3 +1,7 @@
+2008-04-11  Hans Kester  <kester.hans@gmail.com>
+
+   * common/sim-signal.c: define SIGTRAP for _WIN32
+
 2008-02-05  DJ Delorie  <dj@redhat.com>

    * configure.ac (v850): V850 now has a testsuite.


Index: sim/common/sim-signal.c
===================================================================
RCS file: /cvs/src/src/sim/common/sim-signal.c,v
retrieving revision 1.6
diff -u -r1.6 sim-signal.c
@@ -26,7 +26,7 @@
    to not think the process has died (so it can be debugged at the point of
    failure).  */

-#ifdef _MSC_VER
+#ifdef _WIN32
 #ifndef SIGTRAP
 #define SIGTRAP 5
 #endif


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