diff -u -r ../gdb-7.7/gdb/linux-nat.c ./gdb/linux-nat.c --- ../gdb-7.7/gdb/linux-nat.c 2014-02-06 03:21:29.000000000 +0100 +++ ./gdb/linux-nat.c 2014-02-12 01:55:15.000000000 +0100 @@ -68,6 +67,10 @@ #include "target-descriptions.h" #include "filestuff.h" +#ifndef W_STOPCODE +#define W_STOPCODE(sig) ((sig) << 8 | 0x7f) +#endif + #ifndef SPUFS_MAGIC #define SPUFS_MAGIC 0x23c9b64e #endif