Re: gdb remote kernel debugging on i386's broken?

From: Greg 'groggy' Lehey <grog_at_FreeBSD.org>
Date: Tue, 23 Mar 2004 10:56:38 +1030
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.  

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_at_FreeBSD.org for PGP public key.
See complete headers for address and phone numbers.

Received on Mon Mar 22 2004 - 15:26:44 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:48 UTC