Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Masaki MURANAKA <monaka@monami-software.com>
To: gdb-patches@sourceware.org
Subject: Signal definitions for host=mingw32/target=*-*-*
Date: Sat, 15 Apr 2006 16:36:00 -0000	[thread overview]
Message-ID: <44354465-FF5A-4042-B0C3-10E4823D17E3@monami-software.com> (raw)

Hello,

This is a patch that enables to build cross debuggers
on MinGW.
The base version of this patch is gdb-6.4.

I've built m32r-elf-gdb with it and checked to work.

----
2006-04-16  Masaki MURANAKA  <monaka@monami-software.com>

         * sim-signal.c: On MinGW, Added some signal definitions.
		They are not defined in Win32's signal.h.
         * remote-sim.c: Same above.
----

Index: sim/common/sim-signal.c
===================================================================
RCS file: /home/cvs/pizzafactory/gdb/sim/common/sim-signal.c,v
retrieving revision 1.3
diff -r1.3 sim-signal.c
30c30
< #ifdef _MSC_VER
---
 > #if defined(_MSC_VER) || defined(__MINGW32__)
Index: gdb/remote-sim.c
===================================================================
RCS file: /home/cvs/pizzafactory/gdb/gdb/remote-sim.c,v
retrieving revision 1.4
diff -r1.4 remote-sim.c
46a47,58
 > #if defined(_MSC_VER) || defined(__MINGW32__)
 > #ifndef SIGTRAP
 > #define SIGTRAP 5
 > #endif
 > #ifndef SIGBUS
 > #define SIGBUS 10
 > #endif
 > #ifndef SIGQUIT
 > #define SIGQUIT 3
 > #endif
 > #endif
 >


--
Masaki Muranaka
Monami software



             reply	other threads:[~2006-04-15 16:36 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-04-15 16:36 Masaki MURANAKA [this message]
2006-04-15 18:25 ` Eli Zaretskii
2006-04-15 18:42   ` Daniel Jacobowitz
2006-04-16  1:17     ` Masaki MURANAKA
2006-04-16  6:05     ` Eli Zaretskii
2006-04-16 15:54       ` Daniel Jacobowitz

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=44354465-FF5A-4042-B0C3-10E4823D17E3@monami-software.com \
    --to=monaka@monami-software.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