termux-packages/packages/gdb/linux_nat.patch

15 lines
396 B
Diff
Raw Normal View History

2015-06-13 01:03:31 +02:00
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