diff options
author | Pedro Alves <palves@redhat.com> | 2016-08-11 12:01:22 +0100 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2016-08-11 12:01:22 +0100 |
commit | 39b22471578843019026c50fcdbe0483a6045970 (patch) | |
tree | a4e24d6f3535f23f8846b82e138c738dfb903663 /bfd/i386freebsd.c | |
parent | 7f6bf02d58c837d0a5f1e266058cc0e6bd6fc318 (diff) | |
download | gdb-39b22471578843019026c50fcdbe0483a6045970.zip gdb-39b22471578843019026c50fcdbe0483a6045970.tar.gz gdb-39b22471578843019026c50fcdbe0483a6045970.tar.bz2 |
Fix fallout from gdb/20413's fix (x32: linux_ptrace_test_ret_to_nx: Cannot PTRACE_PEEKUSER)
Fixes, on NIOS GNU/Linux:
In file included from
/scratch/mbilal/nois-lite/src/gdb-trunk/gdb/gdbserver/../nat/linux-ptrace.c:26:0:
/scratch/mbilal/nois-lite/src/gdb-trunk/gdb/gdbserver/../gregset.h:27:23:
error: unknown type name 'gregset_t'
#define GDB_GREGSET_T gregset_t
^
Fix this by including sys/procfs.h directly. We shouldn't really be
including a gdb-only header in a gdb/nat/ file, anyway. Whoops.
gdb/ChangeLog:
2016-08-11 Pedro Alves <palves@redhat.com>
PR gdb/20413
* nat/linux-ptrace.c: Include <sys/procfs.h> instead of
"gregset.h".
Diffstat (limited to 'bfd/i386freebsd.c')
0 files changed, 0 insertions, 0 deletions