2009-03-27 23:53:01 gdbserver serial port debugging (is broken?)
Ralph Bertelsmann (GERMANY)
Message: 71717
Hi everyone,
i have a problem with the gdbserver(old) in my uClinux-dist-2008R1.5-RC3 on my SRV1 Surveryor Robot (BF 537).
I want to use it in the serial way, like
gdbserver /dev/ttyBF1 ./test
and all i get is a flood of
Remote debugging using /dev/ttyBF1
readchar: Socket operation on non-socket
Remote side has terminated connection. GDBserver will reopen the connection.
It is the same problem mentioned here:
There it says it should be fixed,
but it isnt for me.
Am i using the wrong release candidate?
Thanks for your help!
TranslateQuoteReplyEditDelete
2009-03-28 07:58:00 Re: gdbserver serial port debugging (is broken?)
Mike Frysinger (UNITED STATES)
Message: 71723
it says it's fixed in trunk, not the last release
QuoteReplyEditDelete
2009-03-29 16:13:10 Re: gdbserver serial port debugging (is broken?)
Ralph Bertelsmann (GERMANY)
Message: 71731
Ah ok,
i did not see that, thank you!
Is it possible to just update the gdbserver in Clinux-dist-2008R1.5-RC3 from trunk,
or do i have to switch to the trunk version?
(as debugging is a critical task for me, that i dont want to miss)
Thanks in advance!
TranslateQuoteReplyEditDelete
2009-03-29 16:33:07 Re: gdbserver serial port debugging (is broken?)
Mike Frysinger (UNITED STATES)
Message: 71733
unfortunately, there have been other fixes/changes that require an updated gdb to work with the updated gdbserver, and perhaps an updated kernel as well
if you look at the Commits tab in that tracker item though, you should find the diffs that can be applied to the gdbserver in the uclinux-dist/user/... folder. hopefully that should be enough.
QuoteReplyEditDelete
2009-04-01 05:01:27 Re: gdbserver serial port debugging (is broken?)
Ralph Bertelsmann (GERMANY)
Message: 71944
it worked!
i linked the /user/gdbserver directory of the trunk version into the /user/gdbserver directory of RC1.5.
(renamed /user/gdbserver first)
make - no errors - working on blackfin, great!
thanks for the help!