From owner-cvs-all Fri Sep 13 9:33:42 2002 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A4DD137B400; Fri, 13 Sep 2002 09:33:36 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 67D7B43E4A; Fri, 13 Sep 2002 09:33:36 -0700 (PDT) (envelope-from peter@FreeBSD.org) Received: from freefall.freebsd.org (peter@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.4/8.12.4) with ESMTP id g8DGXaJU054054; Fri, 13 Sep 2002 09:33:36 -0700 (PDT) (envelope-from peter@freefall.freebsd.org) Received: (from peter@localhost) by freefall.freebsd.org (8.12.4/8.12.4/Submit) id g8DGXaD7054053; Fri, 13 Sep 2002 09:33:36 -0700 (PDT) Message-Id: <200209131633.g8DGXaD7054053@freefall.freebsd.org> From: Peter Wemm Date: Fri, 13 Sep 2002 09:33:36 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.bin/gcore Makefile aoutcore.c elfcore.c extern.h gcore.c md-nop.c md-sparc.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG peter 2002/09/13 09:33:36 PDT Modified files: usr.bin/gcore Makefile aoutcore.c elfcore.c extern.h gcore.c Removed files: usr.bin/gcore md-nop.c md-sparc.c Log: Use a crowbar to move the a.out code out of gcore.c and into its own file so that we have a chance of using gcore on non-i386 platforms. Use linker sets to reduce the registration glue. Remove md-sparc.c, we do not have an a.out sparc32 port. aoutcore.c was repocopied from gcore.c. Revision Changes Path 1.8 +3 -5 src/usr.bin/gcore/Makefile 1.30 +17 -126 src/usr.bin/gcore/aoutcore.c 1.14 +21 -1 src/usr.bin/gcore/elfcore.c 1.4 +4 -6 src/usr.bin/gcore/extern.h 1.30 +23 -193 src/usr.bin/gcore/gcore.c 1.8 +0 -57 src/usr.bin/gcore/md-nop.c (dead) 1.5 +0 -189 src/usr.bin/gcore/md-sparc.c (dead) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message