Remote GDB howto
Greg 'groggy' Lehey
grog at FreeBSD.org
Mon Sep 3 00:09:50 PDT 2007
On Monday, 3 September 2007 at 10:58:54 +0400, Andrey V. Elsukov wrote:
> Hi,
>
> I want to debug my kernel with modules through serial console.
> I have two machines with 7.0-CURRENT.
> What i do:
> ...
>
> What i've missed?
You're a bit sketchy on the details that I've omitted here. What
happens between these two lines?
> (kgdb) target remote /dev/cuad0
> (kgdb) add-symbol-file /path/to/local/copy/of/file
You should have some communication with the remote machine between
these two lines.
Have you followed my tutorial?
http://www.lemis.com/grog/Papers/Debug-tutorial/
Greg
--
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-hackers/attachments/20070903/33817057/attachment.pgp
More information about the freebsd-hackers
mailing list