- fix order problem in Makefile, Makefile.${ARCH} has to be included before
[dragonfly.git] / gnu / usr.bin / gdb / gdb / patches / i386bsd-nat.c.patch
1 $DragonFly: src/gnu/usr.bin/gdb/gdb/patches/Attic/i386bsd-nat.c.patch,v 1.1 2004/10/26 10:22:11 joerg Exp $
2
3 Index: i386bsd-nat.c
4 ===================================================================
5 RCS file: /home/joerg/wd/repository/dragonflybsd/src/contrib/gdb-6.2.1/gdb/i386bsd-nat.c,v
6 retrieving revision 1.1
7 diff -u -r1.1 i386bsd-nat.c
8 --- i386bsd-nat.c       24 Oct 2004 19:56:25 -0000      1.1
9 +++ i386bsd-nat.c       26 Oct 2004 09:27:21 -0000
10 @@ -349,7 +349,7 @@
11       system header files and sysctl(3) to get at the relevant
12       information.  */
13  
14 -#if defined (__FreeBSD_version) && __FreeBSD_version >= 400011
15 +#if defined(__DragonFly__) || (defined (__FreeBSD_version) && __FreeBSD_version >= 400011)
16  #define SC_REG_OFFSET i386fbsd4_sc_reg_offset
17  #elif defined (__FreeBSD_version) && __FreeBSD_version >= 300005
18  #define SC_REG_OFFSET i386fbsd_sc_reg_offset