From owner-freebsd-current@FreeBSD.ORG Mon Mar 22 16:26:44 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 00A9416A4CE for ; Mon, 22 Mar 2004 16:26:44 -0800 (PST) Received: from ozlabs.org (ozlabs.org [203.10.76.45]) by mx1.FreeBSD.org (Postfix) with ESMTP id A72E143D3F for ; Mon, 22 Mar 2004 16:26:43 -0800 (PST) (envelope-from grog@lemis.com) Received: from blackwater.lemis.com (blackwater.lemis.com [192.109.197.80]) by ozlabs.org (Postfix) with ESMTP id 250852BD7B for ; Tue, 23 Mar 2004 11:26:41 +1100 (EST) Received: by blackwater.lemis.com (Postfix, from userid 1004) id F07EA5121F; Tue, 23 Mar 2004 10:56:38 +1030 (CST) Date: Tue, 23 Mar 2004 10:56:38 +1030 From: Greg 'groggy' Lehey To: Bruce Evans Message-ID: <20040323002638.GM52612@wantadilla.lemis.com> References: <20040322115952.O11632@gamplex.bde.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="TBDBusIORirWKjWQ" Content-Disposition: inline In-Reply-To: <20040322115952.O11632@gamplex.bde.org> User-Agent: Mutt/1.4.1i Organization: The FreeBSD Project Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-418-838-708 WWW-Home-Page: http://www.FreeBSD.org/ X-PGP-Fingerprint: 9A1B 8202 BCCE B846 F92F 09AC 22E6 F290 507A 4223 cc: current@freebsd.org Subject: Re: gdb remote kernel debugging on i386's broken? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Mar 2004 00:26:44 -0000 --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--