This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[commit] linux-low.c (W_STOPCODE): Provide definition if missing.
- From: dje at google dot com (Doug Evans)
- To: gdb-patches at sourceware dot org
- Date: Wed, 20 Jan 2010 10:30:57 -0800 (PST)
- Subject: [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