gdb remote kernel debugging on i386's broken?

From: Bruce Evans <bde_at_zeta.org.au>
Date: Mon, 22 Mar 2004 12:08:58 +1100 (EST)
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.  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.

Bruce
Received on Sun Mar 21 2004 - 16:09:04 UTC

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