On 9/18/13 7:00 PM, Jan Danielsson wrote: > I'm trying to get kgdb working between two virtual box instances. (I > have verified that /dev/tty00 <-> /dev/tty00 works by running GENERIC > kernels and minicom on both virtual machines). [---]
Problem #1 "solved" (worked-around). It looks like RB_KDB isn't being passed over to the kernel properly. I simply commented out "if (boothowto & RB_KDB)", and how have a kernel which actually waits for a remote debugger to attach on boot. I enabled DEBUG_KGDB, and when I attach the debugger from the "remote" the target clearly reacts to it. Unfortunately, the "remote" says "PC register not available" -- and it doesn't appear to actually be connected. Is kgdb supposed to work on amd64 and/or -current? I'm starting to get the feeling that this is somewhat untested. /Jan