]> git.pld-linux.org Git - packages/gdb.git/commitdiff
- <sys/ptrace.h> must be before <asm/ptrace.h> (included from some system
authorJakub Bogusz <qboosh@pld-linux.org>
Sat, 24 Apr 2004 23:45:31 +0000 (23:45 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
  headers on amd64) because of conflicting defs

Changed files:
    gdb-headers.patch -> 1.1

gdb-headers.patch [new file with mode: 0644]

diff --git a/gdb-headers.patch b/gdb-headers.patch
new file mode 100644 (file)
index 0000000..33bf727
--- /dev/null
@@ -0,0 +1,17 @@
+--- gdb-6.1/gdb/lin-lwp.c.orig 2003-10-08 22:05:56.000000000 +0200
++++ gdb-6.1/gdb/lin-lwp.c      2004-04-25 01:39:57.838162954 +0200
+@@ -22,13 +22,13 @@
+ #include "gdb_assert.h"
+ #include "gdb_string.h"
++#include <sys/ptrace.h>
+ #include <errno.h>
+ #include <signal.h>
+ #ifdef HAVE_TKILL_SYSCALL
+ #include <unistd.h>
+ #include <sys/syscall.h>
+ #endif
+-#include <sys/ptrace.h>
+ #include "gdb_wait.h"
+ #include "gdbthread.h"
This page took 0.037634 seconds and 4 git commands to generate.