1 diff -u -r ../gdb-7.7/gdb/arm-linux-nat.c ./gdb/arm-linux-nat.c
2 --- ../gdb-7.7/gdb/arm-linux-nat.c 2014-01-08 10:23:36.000000000 +0100
3 +++ ./gdb/arm-linux-nat.c 2014-02-12 01:16:47.000000000 +0100
5 #include "arm-linux-tdep.h"
7 #include <elf/common.h>
9 #include <sys/ptrace.h>
10 #include <sys/utsname.h>
11 -#include <sys/procfs.h>
13 /* Prototypes for supply_gregset etc. */
16 tid = GET_THREAD_ID (inferior_ptid);
18 /* Read the floating point state. */
19 - ret = ptrace (PT_GETFPREGS, tid, 0, fp);
20 + ret = ptrace (PTRACE_GETFPREGS, tid, 0, fp);
23 warning (_("Unable to fetch floating point register."));
25 tid = GET_THREAD_ID (inferior_ptid);
27 /* Read the floating point state. */
28 - ret = ptrace (PT_GETFPREGS, tid, 0, fp);
29 + ret = ptrace (PTRACE_GETFPREGS, tid, 0, fp);
32 warning (_("Unable to fetch the floating point registers."));
34 tid = GET_THREAD_ID (inferior_ptid);
36 /* Read the floating point state. */
37 - ret = ptrace (PT_GETFPREGS, tid, 0, fp);
38 + ret = ptrace (PTRACE_GETFPREGS, tid, 0, fp);
41 warning (_("Unable to fetch the floating point registers."));
43 tid = GET_THREAD_ID (inferior_ptid);
45 /* Read the floating point state. */
46 - ret = ptrace (PT_GETFPREGS, tid, 0, fp);
47 + ret = ptrace (PTRACE_GETFPREGS, tid, 0, fp);
50 warning (_("Unable to fetch the floating point registers."));