]> git.pld-linux.org Git - packages/gdb.git/blame - gdb-6.7-kernel-headers-compat.patch
- NOTE: does not build with -j2
[packages/gdb.git] / gdb-6.7-kernel-headers-compat.patch
CommitLineData
3a58abaf
AM
1kernel-headers-2.6.25-0.40.rc1.git2.fc9.x86_64
2
3In file included from /usr/include/asm/ptrace.h:4,
4 from ../../gdb/amd64-linux-nat.c:44:
5/usr/include/asm/ptrace-abi.h:92: error: expected specifier-qualifier-list before ‘u32’
6
7--- gdb-6.7.1-13.fc9.x86_64/gdb/amd64-linux-nat.c-orig 2008-02-15 15:37:28.000000000 -0500
8+++ gdb-6.7.1-13.fc9.x86_64/gdb/amd64-linux-nat.c 2008-02-15 15:40:13.000000000 -0500
9@@ -35,13 +35,13 @@
10 #include <sys/procfs.h>
11 #include <asm/prctl.h>
12 /* FIXME ezannoni-2003-07-09: we need <sys/reg.h> to be included after
13- <asm/ptrace.h> because the latter redefines FS and GS for no apparent
14+ <sys/ptrace.h> because the latter redefines FS and GS for no apparent
15 reason, and those definitions don't match the ones that libpthread_db
16 uses, which come from <sys/reg.h>. */
17 /* ezannoni-2003-07-09: I think this is fixed. The extraneous defs have
18 been removed from ptrace.h in the kernel. However, better safe than
19 sorry. */
20-#include <asm/ptrace.h>
21+#include <sys/ptrace.h>
22 #include <sys/reg.h>
23 #include "gdb_proc_service.h"
24
This page took 0.715458 seconds and 4 git commands to generate.