This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: Is this a bug? "target remote" doesn't follow "set architecture"
On Mon, Dec 21, 2009 at 10:05:02AM -0800, Michael Snyder wrote:
> Daniel Jacobowitz wrote:
> >On Sat, Dec 19, 2009 at 08:24:12AM -0800, Michael Snyder wrote:
> >>I built a gdb with target=i686-linux. I also want to use it
> >>for remote debugging.
> >
> >Did you configure GDB such that the x86-64 support was built too?
> >It isn't by default.
>
> Configure.tgt seems to suggest that it is.
if test "x$enable_64_bit_bfd" = "xyes"; then
# Target: GNU/Linux x86-64
gdb_target_obs="amd64-tdep.o amd64-linux-tdep.o
${gdb_target_obs}"
fi
Is --enable-64-bit-bfd set?
> And "set archi" offers it as a choice.
That's the BFD architecture list, GDB doesn't have its own.
--
Daniel Jacobowitz
CodeSourcery