Serial consoles and remote GDB
Marcel Moolenaar
marcel at xcllnt.net
Sun Aug 29 15:20:26 PDT 2004
On Sun, Aug 29, 2004 at 06:13:12PM -0400, Rob Deker wrote:
>
> I'm doing some driver hacking w/ FreeBSD 5.2.1 and I've hit a spot where
> my life would be much easier if I had remote GDB for kernel debugging. I
> am however using a serial console on this box, and can't seem to get
> things working so that I have console access to the box on one serial
> port and remote gdb running on the other one. Is this possible?
Yes. Your hints are not the problem. You need to tell the kernel that
you want to use remote GDB. Boot with -g or set boot_gdb=YES in
/boot/loader.conf
--
Marcel Moolenaar USPA: A-39004 marcel at xcllnt.net
More information about the freebsd-hackers
mailing list