This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

gdb Invalid remote reply warning

Other Parts Discussed in Thread: OMAP-L138

I am trying to remote debug a multi-thread application on OMAP L138 but got "Warning: Invalid remote reply" on gdb when I tried to run it. It was able to stop at the breakpoint I set at main() but the warning came up when I told it to continue. I'm using Tera Term and VMWare and I've verified that the remote debugging was working with a simple hello world program. Could anyone suggest what I should do to get it to work?

  • Hi Lai,

    I too saw the same error while remote debugging a multi threaded application on OMAP-L138. After some research it seemed to me that it was happening due a bug in previous version of gdb. With the intention to upgrade gdb I checked the version of gdbserver on the target board and found that it was an older version (at least compared to the gdb on the host).

    host# arm-none-linux-gnueabi-gdb --version
    GNU gdb (Sourcery G++ Lite 2009q1-203) 6.8.50.20081022-cvs

    target# gdbserver --version
    GNU gdbserver 6.6

    So I copied the the gdbserver available in the CodeSourcery (CodeSourcery/Sourcery_G++_Lite/arm-none-linux-gnueabi/libc/usr/lib/bin/gdbserver) to the target.

    target# ./gdbserver --version
    GNU gdbserver (Sourcery G++ Lite 2009q1-203) 6.8.50.20081022-cvs

    And now it is working fine.