This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[commit] linux-low.c (W_STOPCODE): Provide definition if missing.


Hi.

I checked this in.

2010-01-20  Doug Evans  <dje@google.com>

	* linux-low.c (W_STOPCODE): Provide definition if missing.

diff -u -p -r1.123 linux-low.c
--- linux-low.c	20 Jan 2010 18:22:48 -0000	1.123
+++ linux-low.c	20 Jan 2010 18:29:01 -0000
@@ -93,6 +93,10 @@
 #define __WALL          0x40000000 /* Wait for any child.  */
 #endif
 
+#ifndef W_STOPCODE
+#define W_STOPCODE(sig) ((sig) << 8 | 0x7f)
+#endif
+
 #ifdef __UCLIBC__
 #if !(defined(__UCLIBC_HAS_MMU__) || defined(__ARCH_HAS_MMU__))
 #define HAS_NOMMU


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]