From owner-svn-src-all@FreeBSD.ORG Thu Oct 16 18:09:27 2008 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DE4961065688; Thu, 16 Oct 2008 18:09:27 +0000 (UTC) (envelope-from obrien@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id C7AA38FC1C; Thu, 16 Oct 2008 18:09:27 +0000 (UTC) (envelope-from obrien@FreeBSD.org) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id m9GI9RbE067409; Thu, 16 Oct 2008 18:09:27 GMT (envelope-from obrien@svn.freebsd.org) Received: (from obrien@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id m9GI9R2D067407; Thu, 16 Oct 2008 18:09:27 GMT (envelope-from obrien@svn.freebsd.org) Message-Id: <200810161809.m9GI9R2D067407@svn.freebsd.org> From: "David E. O'Brien" Date: Thu, 16 Oct 2008 18:09:27 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r183957 - in head/gnu/usr.bin/gdb/arch: amd64 i386 X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Oct 2008 18:09:28 -0000 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 , 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