]> git.pld-linux.org Git - packages/gdb.git/blob - gdb-headers.patch
- added sparc fix
[packages/gdb.git] / gdb-headers.patch
1 --- gdb-6.1/gdb/lin-lwp.c.orig  2003-10-08 22:05:56.000000000 +0200
2 +++ gdb-6.1/gdb/lin-lwp.c       2004-04-25 01:39:57.838162954 +0200
3 @@ -22,13 +22,13 @@
4  
5  #include "gdb_assert.h"
6  #include "gdb_string.h"
7 +#include <sys/ptrace.h>
8  #include <errno.h>
9  #include <signal.h>
10  #ifdef HAVE_TKILL_SYSCALL
11  #include <unistd.h>
12  #include <sys/syscall.h>
13  #endif
14 -#include <sys/ptrace.h>
15  #include "gdb_wait.h"
16  
17  #include "gdbthread.h"
18 --- gdb-6.1/gdb/sparc-nat.c.orig        2004-04-24 23:48:09.000000000 +0000
19 +++ gdb-6.1/gdb/sparc-nat.c     2004-04-25 00:18:12.000000000 +0000
20 @@ -23,7 +23,7 @@
21   * between <asm/reg.h> and <sys/ucontext.h> (included in <signal.h>)
22   * gdb needs <asm/reg.h>, so this is workaround to avoid including
23   * <sys/ucontext.h> contents */
24 -#define _SYS_UCONTEXT_H 1
25 +/*#define _SYS_UCONTEXT_H 1*/
26  
27  #include "defs.h"
28  #include "inferior.h"
This page took 0.055015 seconds and 3 git commands to generate.