This is the mail archive of the
mailing list for the GDB project.
Re: crosstool gdb6.6 from i686 to x86_64
On Mon, Apr 02, 2007 at 04:15:15PM -0700, Sri Dharmasanam (sdharmas) wrote:
> Crosstool builds the cross-gdb client and the gdbserver together. In
> this case, the host is a 32b machine and the target is 64b.
> The host:
> % x86_64-unknown-linux-gnu-gdb
> GNU gdb 6.6
> Copyright (C) 2006 Free Software Foundation, Inc.
> GDB is free software, covered by the GNU General Public License, and you
> welcome to change it and/or distribute copies of it under certain
> Type "show copying" to see the conditions.
> There is absolutely no warranty for GDB. Type "show warranty" for
> This GDB was configured as "--host=i686-pc-linux-gnu
> (gdb) target remote target:12312
> Remote debugging using target:12312
> Remote register badly formatted:
Supply a file before you do this, and it will work. Without a file,
x86_64 GDB defaults to i386.