Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: "Hans Kester" <kester.hans@gmail.com>
To: gdb-patches@sourceware.org
Subject: [PATCH, GDB6.8] Build error on MinGW with mips-elf target
Date: Fri, 11 Apr 2008 12:42:00 -0000	[thread overview]
Message-ID: <93da74750804110155q1df0f453l3da707ad310d75f5@mail.gmail.com> (raw)

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


             reply	other threads:[~2008-04-11  8:55 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-11 12:42 Hans Kester [this message]
2008-04-14 17:51 ` Daniel Jacobowitz
2008-04-15 10:35   ` Hans Kester

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=93da74750804110155q1df0f453l3da707ad310d75f5@mail.gmail.com \
    --to=kester.hans@gmail.com \
    --cc=gdb-patches@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox