Red Hat Bugzilla – Bug 190810
Remote register badly formatted
Last modified: 2007-11-30 17:11:32 EST
Description of problem:
Debugging an x86_64 program remotely from another x86_64 machine doesn't work.
When I type target remote 10.0.9.1:3127
it gives an error (see below for full error).
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Start gdbserver on the remote machine and attach to a pid
2. Start gdb
3. Type "target remote 10.0.9.1:3127"
Remote debugging using 10.0.9.1:3127
Couldn't establish connection to remote target
Remote register badly formatted:
Your target architecture of gdb does not match the gdbserver architecture.
gdb unfortunately (due to bfd) defaults to 32-bit target ("i386") while its
native target would be "i386:x86_64".
As you generally should load the debug information anyway, please use "file"
command first before using the "target remote" command.
If you do not have the binary locally available you must at least use "set
Going to patch there this suggestion as I understand the error reason is unclear.
(Suggestion only way) to be fixed in gdb-6.5-11.fc6, thanks for your bugreport.
Still it should get autodetected one day.
gdb-6.5-13.fc6 has been pushed for fc6, which should resolve this issue. If these problems are still present in this version, then please make note of it in this bug report.
Formal mistake, state MODIFIED is invalid for FC bugs.