On Tue, Apr 20, 2004 at 03:17:56AM -0500, William M. Grim wrote:No problem. Once my serial cable gets here I will try it.
Hi!
Is it possible to do remote debugging of the FreeBSD kernel over a serial connection using Linux? FreeBSD has a special "-k" switch that Linux does not for GDB; so, I'm not even sure it's possible without a lot of work.
Most of the logic is in the gdb stub, which lives in the kernel. You don't have to use -k to be able to remote debug the kernel. It may have to be a cross-debugger (host=*-*-linux*, target=*-*-freebsd*). In principle it should not be necessary, provided the host and target architectures are the same.
In short: try it. chances are it works. If not, try with a cross-gdb.
HTH,
Thanks.
-- William Michael Grim Student, Southern Illinois University at Edwardsville Unix Network Administrator, SIUE, Computer Science dept. Phone: (217) 341-6552 Email: [EMAIL PROTECTED]
_______________________________________________ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PROTECTED]"

