Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [PATCH, GDB6.8] Build error on MinGW with mips-elf target
@ 2008-04-11 12:42 Hans Kester
  2008-04-14 17:51 ` Daniel Jacobowitz
  0 siblings, 1 reply; 3+ messages in thread
From: Hans Kester @ 2008-04-11 12:42 UTC (permalink / raw)
  To: gdb-patches

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH, GDB6.8] Build error on MinGW with mips-elf target
  2008-04-11 12:42 [PATCH, GDB6.8] Build error on MinGW with mips-elf target Hans Kester
@ 2008-04-14 17:51 ` Daniel Jacobowitz
  2008-04-15 10:35   ` Hans Kester
  0 siblings, 1 reply; 3+ messages in thread
From: Daniel Jacobowitz @ 2008-04-14 17:51 UTC (permalink / raw)
  To: Hans Kester; +Cc: gdb-patches

On Fri, Apr 11, 2008 at 10:55:18AM +0200, Hans Kester wrote:
> 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?

I have checked this in.  It's gross, but matches the status quo and
adds no new grossness.  Mark Mitchell fixed up several of the
simulators to not rely on the host's SIGTRAP definition, but those
using sim/common have a little further to go.

-- 
Daniel Jacobowitz
CodeSourcery


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH, GDB6.8] Build error on MinGW with mips-elf target
  2008-04-14 17:51 ` Daniel Jacobowitz
@ 2008-04-15 10:35   ` Hans Kester
  0 siblings, 0 replies; 3+ messages in thread
From: Hans Kester @ 2008-04-15 10:35 UTC (permalink / raw)
  To: Hans Kester, gdb-patches

Daniel Jacobowitz <drow@false.org> wrote:
> I have checked this in.  It's gross, but matches the status quo and
> adds no new grossness.  Mark Mitchell fixed up several of the
> simulators to not rely on the host's SIGTRAP definition, but those
> using sim/common have a little further to go.

So I noticed. Thanks for yor help.


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-04-15  8:31 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-04-11 12:42 [PATCH, GDB6.8] Build error on MinGW with mips-elf target Hans Kester
2008-04-14 17:51 ` Daniel Jacobowitz
2008-04-15 10:35   ` Hans Kester

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox