From owner-freebsd-hackers@FreeBSD.ORG Fri Sep 24 00:02:36 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D9D6216A4CE for ; Fri, 24 Sep 2004 00:02:36 +0000 (GMT) Received: from obsecurity.dyndns.org (CPE0050040655c8-CM00111ae02aac.cpe.net.cable.rogers.com [69.194.102.143]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9E54C43D31 for ; Fri, 24 Sep 2004 00:02:36 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 1F4F854898; Thu, 23 Sep 2004 17:02:52 -0700 (PDT) Date: Thu, 23 Sep 2004 17:02:51 -0700 From: Kris Kennaway To: Jeremie Le Hen Message-ID: <20040924000251.GA53006@xor.obsecurity.org> References: <20040921134707.GA1276@rocco.epita.fr> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="4Ckj6UjgE2iN1+kY" Content-Disposition: inline In-Reply-To: <20040921134707.GA1276@rocco.epita.fr> User-Agent: Mutt/1.4.2.1i cc: freebsd-hackers@freebsd.org Subject: Re: STRIP in /usr/share/mk/ X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Sep 2004 00:02:37 -0000 --4Ckj6UjgE2iN1+kY Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Sep 21, 2004 at 03:47:07PM +0200, Jeremie Le Hen wrote: > Hi, >=20 > while playing around ifconfig.c, I needed to use gdb(1) on the generated > binary : >=20 > z6po:ifconfig# make clean ; make DEBUG_FLAGS=3D-ggdb && make install > [...] > install -s -o root -g wheel -m 555 ifconfig /sbin > install -o root -g wheel -m 444 ifconfig.8.gz /usr/share/man/man8 >=20 >=20 > As you can see, although I compiled with DEBUG_FLAGS, the binary is > stripped on install(1) so I cannot easily use gdb(1) on it. > I looked at the Makefile which includes bsd.prog.mk : What's wrong with 'make DEBUG_FLAGS=3D-ggdb all install'? Kris --4Ckj6UjgE2iN1+kY Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQFBU2QqWry0BWjoQKURAgELAKC8ObuXxwtD8tiZmDFvxLQyVqnJbwCfUCiO 6yCvq3EBSESte1zyJQ5OLBQ= =Ezwe -----END PGP SIGNATURE----- --4Ckj6UjgE2iN1+kY--