This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[PATCH, GDB6.8] Build error on MinGW with mips-elf target
- From: "Hans Kester" <kester dot hans at gmail dot com>
- To: gdb-patches at sourceware dot org
- Date: Fri, 11 Apr 2008 10:55:18 +0200
- Subject: [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