Date: Sat, 9 May 2015 19:03:47 -0400 From: Alexander Kabaev <kabaev@gmail.com> To: Sean Bruno <sbruno@ignoranthack.me> Cc: freebsd-hackers@freebsd.org Subject: Re: How to get anything useful out of kgdb? Message-ID: <20150509190347.10e1e2c2@kan> In-Reply-To: <554E5263.8010205@ignoranthack.me> References: <554E41EE.2010202@ignoranthack.me> <554E4BD1.1030802@ignoranthack.me> <406EAA27-D825-408B-985E-DC3FFE746473@frob.org> <554E5263.8010205@ignoranthack.me>
next in thread | previous in thread | raw e-mail | index | archive | help
--Sig_/HoDQHSc/C35Ivq6dbtjpCCj Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: quoted-printable On Sat, 09 May 2015 11:30:59 -0700 Sean Bruno <sbruno@ignoranthack.me> wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA512 >=20 > On 05/09/15 11:09, Jeff Meegan wrote: > > You could try -O0, but also if you just care about txr, go up to > > frame 12 where txr initialized to the context arg to em_handle_tx() > > and print it out there. > >=20 > > -j >=20 > I'm guessing that the place to change -O2 -> -O0 is in kern.pre.mk ? >=20 > sean No, it means you need to iescover DEBUG and how it affects optimization level :) .if defined(DEBUG) _MINUS_O=3D -O CTFFLAGS+=3D -g .else ... Say, I have 'makeoptions DEBUG=3D"-g -gdwarf-2"' in my kernel config file. -gdwarf-2 is probably not required anymore. -- Alexander Kabaev --Sig_/HoDQHSc/C35Ivq6dbtjpCCj Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iEYEARECAAYFAlVOklQACgkQQ6z1jMm+XZawEQCfdtOyX2ZDFNaeCuRs2ny8SgCi q30AoIKRovuIr1jaoo4zSs+f2PF1ss+e =PmPR -----END PGP SIGNATURE----- --Sig_/HoDQHSc/C35Ivq6dbtjpCCj--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20150509190347.10e1e2c2>