From: Doug Evans Date: Wed, 20 Jan 2010 18:29:39 +0000 (+0000) Subject: * linux-low.c (W_STOPCODE): Provide definition if missing. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ec8ebe726b1f2d43d19256f8d8b33a6dca71537a;p=binutils-gdb.git * linux-low.c (W_STOPCODE): Provide definition if missing. --- diff --git a/gdb/gdbserver/ChangeLog b/gdb/gdbserver/ChangeLog index 7b6c6fbd33c..2113f510e15 100644 --- a/gdb/gdbserver/ChangeLog +++ b/gdb/gdbserver/ChangeLog @@ -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 diff --git a/gdb/gdbserver/linux-low.c b/gdb/gdbserver/linux-low.c index 54e5658a1c4..4869db3769f 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