gdb: Add comment explaining autoconf variables
[termux-packages] / packages / gdb / linux_nat.patch
1 diff -u -r ../gdb-7.7/gdb/linux-nat.c ./gdb/linux-nat.c
2 --- ../gdb-7.7/gdb/linux-nat.c 2014-02-06 03:21:29.000000000 +0100
3 +++ ./gdb/linux-nat.c 2014-02-12 01:55:15.000000000 +0100
4 @@ -68,6 +67,10 @@
5 #include "target-descriptions.h"
6 #include "filestuff.h"
7
8 +#ifndef W_STOPCODE
9 +#define W_STOPCODE(sig) ((sig) << 8 | 0x7f)
10 +#endif
11 +
12 #ifndef SPUFS_MAGIC
13 #define SPUFS_MAGIC 0x23c9b64e
14 #endif