* linux-low.c (W_STOPCODE): Provide definition if missing.
authorDoug Evans <dje@google.com>
Wed, 20 Jan 2010 18:29:39 +0000 (18:29 +0000)
committerDoug Evans <dje@google.com>
Wed, 20 Jan 2010 18:29:39 +0000 (18:29 +0000)
gdb/gdbserver/ChangeLog
gdb/gdbserver/linux-low.c

index 7b6c6fbd33c1dfc33c42e698ed701c6ed3df7bc9..2113f510e1584806b2d7227a71edc3cbf01534b8 100644 (file)
@@ -3,6 +3,7 @@
        * linux-low.c (linux_create_inferior): Wrap use of __SIGRTMIN in
        #ifdef.
        (linux_wait_for_event1, linux_init_signals): Ditto.
+       (W_STOPCODE): Provide definition if missing.
 
 2010-01-13  Vladimir Prus  <vladimir@codesourcery.com>
 
index 54e5658a1c40c403671d803a1a75eeef8787e848..4869db3769f514967352e251d06fb1f79c4d2932 100644 (file)
 #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