From owner-freebsd-current Thu Sep 5 1:28:46 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C174A37B400; Thu, 5 Sep 2002 01:28:43 -0700 (PDT) Received: from salmon.maths.tcd.ie (salmon.maths.tcd.ie [134.226.81.11]) by mx1.FreeBSD.org (Postfix) with SMTP id 6199E43E4A; Thu, 5 Sep 2002 01:28:42 -0700 (PDT) (envelope-from dwmalone@maths.tcd.ie) Received: from walton.maths.tcd.ie by salmon.maths.tcd.ie with SMTP id ; 5 Sep 2002 09:28:41 +0100 (BST) Date: Thu, 5 Sep 2002 09:28:37 +0100 From: David Malone To: Garance A Drosihn Cc: walt , freebsd-current@FreeBSD.ORG, David Malone Subject: Re: gcore/elfcore.c broken? Message-ID: <20020905082837.GA49246@walton.maths.tcd.ie> References: <3D770E8E.6030600@hotmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.25i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thu, Sep 05, 2002 at 12:42:09AM -0400, Garance A Drosihn wrote: > At 12:58 AM -0700 9/5/02, walt wrote: > >cc -O -pipe -mcpu=pentiumpro -c /usr/src/usr.bin/gcore/elfcore.c > >/usr/src/usr.bin/gcore/elfcore.c: In function `elf_coredump': > >/usr/src/usr.bin/gcore/elfcore.c:128: syntax error before "nleft" > >/usr/src/usr.bin/gcore/elfcore.c:131: `nleft' undeclared (first use > >in this function) > >/usr/src/usr.bin/gcore/elfcore.c:131: (Each undeclared identifier is > >reported only once > >/usr/src/usr.bin/gcore/elfcore.c:131: for each function it appears in.) > > I suspect it was broken as part of the commit: Yep - it crept in as part of some crud I had in my freefall tree. I'd run a cvs diff before applying this patch to make sure the tree was clean but must have missed this. (The intmax_t changes wouldn't have passed md5 anyway...) I'll check and see if I touched anything else I didn't intent to and back out any patches which shouldn't be in the tree. David. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message