Comment 4 for bug 736354

Revision history for this message
bhs (bharath-vegito) wrote :

Hi Matthew, Shivkumar,
I have seen this issue even when binary is copied and passed to gdb-multiarch.

error:
Remote 'g' packet reply is too long: 000000002959b2be00000000000000000000000000000000000000000000000000000000000000000000000000000000000000002

The root cause of the problem is we are not letting gdb-multiarch know the architecture. To solve this, simply pass in gdbinit file or via gdb shell.

'set architecture arm'

This fixes the problem mentioned in bug.

This is not a gdb-multiarch bug and this is to be expected since gdb-multiarch is general to many architectures. It assumes the user pass the architecture via commands or gdbinit file.