Date: Fri, 26 Aug 2011 15:24:54 +0000 (UTC) From: Olivier Houchard <cognet@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r225190 - head/gnu/usr.bin/gdb/arch/arm Message-ID: <201108261524.p7QFOso8060269@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: cognet Date: Fri Aug 26 15:24:54 2011 New Revision: 225190 URL: http://svn.freebsd.org/changeset/base/225190 Log: Do not include <sys/ptrace.h> if we're building a cross-debugger, ptrace isn't used anyway, and it breaks the build, since sys/ptrace.h now includes <machine/reg.h> Approved by: re Modified: head/gnu/usr.bin/gdb/arch/arm/armfbsd-nat.c Modified: head/gnu/usr.bin/gdb/arch/arm/armfbsd-nat.c ============================================================================== --- head/gnu/usr.bin/gdb/arch/arm/armfbsd-nat.c Fri Aug 26 14:05:48 2011 (r225189) +++ head/gnu/usr.bin/gdb/arch/arm/armfbsd-nat.c Fri Aug 26 15:24:54 2011 (r225190) @@ -32,8 +32,8 @@ #include "arm-tdep.h" #include <sys/types.h> -#include <sys/ptrace.h> #ifndef CROSS_DEBUGGER +#include <sys/ptrace.h> #include <machine/reg.h> #include <machine/frame.h> #endif
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201108261524.p7QFOso8060269>