Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Sep 2004 17:02:51 -0700
From:      Kris Kennaway <kris@obsecurity.org>
To:        Jeremie Le Hen <jeremie.le-hen@epita.fr>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: STRIP in /usr/share/mk/
Message-ID:  <20040924000251.GA53006@xor.obsecurity.org>
In-Reply-To: <20040921134707.GA1276@rocco.epita.fr>
References:  <20040921134707.GA1276@rocco.epita.fr>

next in thread | previous in thread | raw e-mail | index | archive | help

--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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040924000251.GA53006>