This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
dumb question, gdbserver and x86_64 linux
- From: Michael Snyder <msnyder at vmware dot com>
- To: "gdb at sourceware dot org" <gdb at sourceware dot org>
- Date: Tue, 16 Mar 2010 16:14:45 -0700
- Subject: dumb question, gdbserver and x86_64 linux
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