Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 31 Mar 2003 17:02:57 +0530
From:      "Manish Sapariya" <meetmanya@hotmail.com>
To:        freebsd-hackers@freebsd.org
Subject:   Debugging FreeBSD 4.7 using gdb remote machine
Message-ID:  <F121o8jgCteCQHZXXgd0001bdfa@hotmail.com>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?F121o8jgCteCQHZXXgd0001bdfa>