Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* Signal definitions for host=mingw32/target=*-*-*
@ 2006-04-15 16:36 Masaki MURANAKA
  2006-04-15 18:25 ` Eli Zaretskii
  0 siblings, 1 reply; 6+ messages in thread
From: Masaki MURANAKA @ 2006-04-15 16:36 UTC (permalink / raw)
  To: gdb-patches

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



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

end of thread, other threads:[~2006-04-16 15:54 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-04-15 16:36 Signal definitions for host=mingw32/target=*-*-* Masaki MURANAKA
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

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