Fix for an ARM64 compilation failure of the embedded gdb file

"aarch-linux-nat.c" in the Fedora fc21 rawhide environment, which
uses glibc-headers-2.19.90-24.fc21.
(anderson@redhat.com)
This commit is contained in:
Dave Anderson 2014-07-02 14:58:26 -04:00
parent 1767e9d4f7
commit ad757cb474

View File

@ -1678,3 +1678,13 @@
fprintf_filtered(gdb_stdout, "\n");
lastval++;
}
--- gdb-7.6/gdb/aarch64-linux-nat.c.orig
+++ gdb-7.6/gdb/aarch64-linux-nat.c
@@ -32,6 +32,7 @@
#include "elf/common.h"
#include <sys/ptrace.h>
+#include <asm/ptrace.h>
#include <sys/utsname.h>
#include "gregset.h"