aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdbserver/linux-low.c
diff options
context:
space:
mode:
authorDoug Evans <dje@google.com>2010-01-20 18:29:39 +0000
committerDoug Evans <dje@google.com>2010-01-20 18:29:39 +0000
commitec8ebe726b1f2d43d19256f8d8b33a6dca71537a (patch)
tree3609c0b2225158058a76c4636cc7a723e67f0be9 /gdb/gdbserver/linux-low.c
parent60c3d7b00b63c2268b9848d50fa960578a5a9a51 (diff)
downloadgdb-ec8ebe726b1f2d43d19256f8d8b33a6dca71537a.zip
gdb-ec8ebe726b1f2d43d19256f8d8b33a6dca71537a.tar.gz
gdb-ec8ebe726b1f2d43d19256f8d8b33a6dca71537a.tar.bz2
* linux-low.c (W_STOPCODE): Provide definition if missing.
Diffstat (limited to 'gdb/gdbserver/linux-low.c')
-rw-r--r--gdb/gdbserver/linux-low.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/gdbserver/linux-low.c b/gdb/gdbserver/linux-low.c
index 54e5658..4869db3 100644
--- a/gdb/gdbserver/linux-low.c
+++ b/gdb/gdbserver/linux-low.c
@@ -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