Qt: Remote 'g' packet reply is too long

My workmate suffered from a problem when debugging Qt project to remote ARM board. The error message is:

Cannot continue debugged process:
Remote 'g' packet reply is too long: 0000000051feffbe00000000000000000000000000000000000000000000000000000000000000000000

He found the root cause and shared to me. The solution is provided as below link.

http://qt-project.org/forums/viewthread/26922

Basically, the root cause is because the version of gdbserver and gdb at client machine we specified is not matched. My workmate change his GDB engine setting in Qt Creator, and everything goes well. However, he also doesn't know how this could happen.

留言

熱門文章