Date: Tue, 23 Mar 2004 10:56:38 +1030 From: Greg 'groggy' Lehey <grog@FreeBSD.org> To: Bruce Evans <bde@zeta.org.au> Cc: current@freebsd.org Subject: Re: gdb remote kernel debugging on i386's broken? Message-ID: <20040323002638.GM52612@wantadilla.lemis.com> In-Reply-To: <20040322115952.O11632@gamplex.bde.org> References: <20040322115952.O11632@gamplex.bde.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--TBDBusIORirWKjWQ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Monday, 22 March 2004 at 12:08:58 +1100, Bruce Evans wrote: > Has anyone found gdb remote kernel debugging on i386's to _not_ be > broken lately? There have been rumours of its brokenness for several > months. =20 There has been some breakage, but I've found it usable. > I rarely use it, but tried it yesterday and found that breakpoints > just don't work. gdb apparently doesn't understand its own > breakpoints. It stops on them, and IIRC it removes the breakpoint > instruction that it has put in the instruction stream, but doesn't > fix up %eip to where the original instruction was, so it normally > wants to resume execution in the middle of a multi-byte instruction. > This tends to crash. Fixing up %eip manually works. Single > stepping works. Hmm. Not my experience. My builds were on 2 January, 22 February and 1 March. Greg -- Note: I discard all HTML mail unseen. Finger grog@FreeBSD.org for PGP public key. See complete headers for address and phone numbers. --TBDBusIORirWKjWQ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.0 (FreeBSD) iD8DBQFAX4Q+IubykFB6QiMRAsrXAKCOx9tsuF1ZUpgtgyJVFurxJkI8ugCbB1if VbIfeKjNodg7LXJ6XRUVECw= =sp/K -----END PGP SIGNATURE----- --TBDBusIORirWKjWQ--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040323002638.GM52612>