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
6 #include "inf-ptrace.h"
8 -#include <sys/procfs.h> /* for elf_gregset etc. */
9 #include "elf-bfd.h" /* for elfcore_write_* */
10 #include "gregset.h" /* for gregset */
11 #include "gdbcore.h" /* for get_exec_file */
13 #include "target-descriptions.h"
14 #include "filestuff.h"
17 +#define W_STOPCODE(sig) ((sig) << 8 | 0x7f)
21 #define SPUFS_MAGIC 0x23c9b64e
24 if (last.kind == TARGET_WAITKIND_FORKED
25 || last.kind == TARGET_WAITKIND_VFORKED)
27 - ptrace (PT_KILL, ptid_get_pid (last.value.related_pid), 0, 0);
28 + ptrace (PTRACE_KILL, ptid_get_pid (last.value.related_pid), 0, 0);
31 /* Let the arch-specific native code know this process is