Debugging FreeBSD 4.7 using gdb remote machine

Manish Sapariya meetmanya at hotmail.com
Mon Mar 31 03:33:02 PST 2003


Hi all,
I am trying to debug the FreeBSD 4.7 kernel using
gdb remote debugging. However I am not able to do
it properly. The kernel breaks in properly when
I run

"target remote /dev/cuaa1" command on my developement
machine.

However when I try to "step, next, continue" in the code
it simply hangs, Or if I execute command to view backtrace,
it doesnot show the complete stack and many of the entries are
garbled giving the messages about "Ignoring packet
error, continuing... " and "Reply contains invalid hex digits 116".

Only once I was ablt to debug successfully.
In my VMWARE setup also I can do the debugging without
any problem.

I even faced the same problem with different set of machines.

Is there anything that I am missing in configuration or gdb stuff,
or cabling problem? (I tested with kermit that the serial connection
setup and is working fine, or it seems to be ;-()

Any clues will be of great help.

Thanks ans Regards,
Manish


_________________________________________________________________
Catch the Oscar fever. See winners & losers. 
http://server1.msn.co.in/MSNSpecials/oscar2003/index.asp Right here



More information about the freebsd-hackers mailing list