gdb remote kernel debugging on i386's broken?

Greg 'groggy' Lehey grog at FreeBSD.org
Mon Mar 22 16:26:44 PST 2004


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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20040323/2be932da/attachment.bin


More information about the freebsd-current mailing list