This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug gdb/20413] x32: linux_ptrace_test_ret_to_nx: Cannot PTRACE_PEEKUSER
- From: "cvs-commit at gcc dot gnu.org" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Thu, 11 Aug 2016 11:04:54 +0000
- Subject: [Bug gdb/20413] x32: linux_ptrace_test_ret_to_nx: Cannot PTRACE_PEEKUSER
- Auto-submitted: auto-generated
- References: <bug-20413-4717@http.sourceware.org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=20413
--- Comment #8 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
The gdb-7.12-branch branch has been updated by Pedro Alves
<palves@sourceware.org>:
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=e565c44e294111fdc2b84396917b0c4ffed916fb
commit e565c44e294111fdc2b84396917b0c4ffed916fb
Author: Pedro Alves <palves@redhat.com>
Date: Thu Aug 11 12:03:18 2016 +0100
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".
--
You are receiving this mail because:
You are on the CC list for the bug.