PDA

View Full Version : Remote kernel debugging using tcp/ip communication


Ibarhim
July 12th, 2010, 01:16
i need to know how to make Remote kernel debugging in FreeBSD using TCP/IP
i want help from scratch (from how to connect two machine until finish debugging)

trasz@
July 12th, 2010, 09:20
No idea about TCP/IP, but maybe you could use remote GDB over FireWire (man dcons) instead, or just use DDB over USB?

Ibarhim
July 12th, 2010, 11:17
i have two virtual machine and i need to connect them and debug kernel on one machine of them from the other machine

fairy
July 15th, 2010, 03:51
you can redirect serial port to TCP in VM or by host system and start gdb. Some VMs already have builtin gdbserver, e.g. qemu.