Date: Thu, 16 Oct 2008 18:09:27 +0000 (UTC) From: "David E. O'Brien" <obrien@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r183957 - in head/gnu/usr.bin/gdb/arch: amd64 i386 Message-ID: <200810161809.m9GI9R2D067407@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: obrien Date: Thu Oct 16 18:09:27 2008 New Revision: 183957 URL: http://svn.freebsd.org/changeset/base/183957 Log: Document what the sed trick is for. Remove an embedded <TAB>, and use same style for both files. Modified: head/gnu/usr.bin/gdb/arch/amd64/Makefile head/gnu/usr.bin/gdb/arch/i386/Makefile Modified: head/gnu/usr.bin/gdb/arch/amd64/Makefile ============================================================================== --- head/gnu/usr.bin/gdb/arch/amd64/Makefile Thu Oct 16 17:11:06 2008 (r183956) +++ head/gnu/usr.bin/gdb/arch/amd64/Makefile Thu Oct 16 18:09:27 2008 (r183957) @@ -7,7 +7,7 @@ LIBSRCS+= amd64-nat.c amd64bsd-nat.c amd .endif LIBSRCS+= solib.c solib-svr4.c LIBSRCS+= amd64-tdep.c amd64fbsd-tdep.c i386-tdep.c i386bsd-tdep.c \ - i386fbsd-tdep-fixed.c i387-tdep.c + i386fbsd-tdep-fixed.c i387-tdep.c nm.h: echo '#include "i386/nm-fbsd64.h"' > ${.TARGET} @@ -18,7 +18,7 @@ tm.h: xm.h: echo '#include "i386/xm-i386.h"' > ${.TARGET} +# Fix source static/extern mismatch nits that GCC 4.2 warns about. +CLEANFILES+= i386fbsd-tdep-fixed.c i386fbsd-tdep-fixed.c: i386fbsd-tdep.c sed -e '48s/^static //' ${.ALLSRC} > ${.TARGET} - -CLEANFILES+= i386fbsd-tdep-fixed.c Modified: head/gnu/usr.bin/gdb/arch/i386/Makefile ============================================================================== --- head/gnu/usr.bin/gdb/arch/i386/Makefile Thu Oct 16 17:11:06 2008 (r183956) +++ head/gnu/usr.bin/gdb/arch/i386/Makefile Thu Oct 16 18:09:27 2008 (r183957) @@ -17,6 +17,7 @@ tm.h: xm.h: echo '#include "i386/xm-i386.h"' > ${.TARGET} +# Fix source static/extern mismatch nits that GCC 4.2 warns about. +CLEANFILES += i386fbsd-tdep-fixed.c i386fbsd-tdep-fixed.c: i386fbsd-tdep.c sed -e '48s/^static\ //' ${.ALLSRC} > ${.TARGET} -CLEANFILES += i386fbsd-tdep-fixed.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200810161809.m9GI9R2D067407>