dumb question, gdbserver and x86_64 linux

Michael Snyder msnyder@vmware.com
Tue Mar 16 23:14:00 GMT 2010


If I build gdbserver native on an x86_64 linux host, and use it to debug
a 64 bit binary, why does it report to gdb that the target architecture
is i386 rather than x86_64?

Sending packet: $qXfer:features:read:target.xml:0,fff#7d...Packet 
received: 
l<target><architecture>i386</architecture><osabi>GNU/Linux</osabi></target>
warning: Selected architecture i386:x86-64 is not compatible with 
reported target architecture i386



More information about the Gdb mailing list