2009-03-20 09:27:11 gdbserver with serial connection
Parimala Baggiri (INDIA)
Message: 71305
Hello,
I am trying to debug my applications with gdb. I have enabled CONFIG_USER_GDBSERVER and I compiled my application with "-g -O0" compilation option.
Then I start gdbserver on target(ADSP-BF537-STAMP) as "gdbserver /dev/ttyBF1 program.gdb" the result for this is
Process ./program.gdb created; pid = 70
Remote debugging using /dev/ttyBF1
On host(Colinux):
bfin-uclinux-gdb -b 57600 program.gdb
gdb)target remote /dev/ttyS0
Remote debugging using /dev/ttyS0
Ignoring packet error, continuing...
warning: unrecognized item "timeout" in "qSupported" response
Ignoring packet error, continuing...
Ignoring packet error, continuing...
Ignoring packet error, continuing...
Malformed response to offset query, timeout
gdb)start
Don't know how to run. Try "help target".
I am using latest uClinux-dist and toolchain from svn trunk
Could you please help me why is that error coming?
Regards
Parimala
QuoteReplyEditDelete
2009-03-20 12:04:05 Re: gdbserver with serial connection
Nikolay Chokoev (IRELAND)
Message: 71311
maybe you r using different (wrong) gdb client (or version).
QuoteReplyEditDelete
2009-03-22 23:43:59 Re: gdbserver with serial connection
Parimala Baggiri (INDIA)
Message: 71356
I am using the gdb client what ever uClinux-dist has(bfin-uclinux-gdb) that shows the version as "GNU gdb 6.6". Do I need to upgrade this version?
Thank you.
Regards
Parimala