From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24997 invoked by alias); 21 Dec 2009 18:22:36 -0000 Received: (qmail 24989 invoked by uid 22791); 21 Dec 2009 18:22:35 -0000 X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from NaN.false.org (HELO nan.false.org) (208.75.86.248) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 21 Dec 2009 18:22:31 +0000 Received: from nan.false.org (localhost [127.0.0.1]) by nan.false.org (Postfix) with ESMTP id B188A10A5E; Mon, 21 Dec 2009 18:22:29 +0000 (GMT) Received: from caradoc.them.org (209.195.188.212.nauticom.net [209.195.188.212]) by nan.false.org (Postfix) with ESMTP id 553C210548; Mon, 21 Dec 2009 18:22:29 +0000 (GMT) Received: from drow by caradoc.them.org with local (Exim 4.69) (envelope-from ) id 1NMmtn-0005OG-IN; Mon, 21 Dec 2009 13:22:27 -0500 Date: Mon, 21 Dec 2009 18:22:00 -0000 From: Daniel Jacobowitz To: Michael Snyder Cc: gdb@sourceware.org Subject: Re: Is this a bug? "target remote" doesn't follow "set architecture" Message-ID: <20091221182227.GA20678@caradoc.them.org> Mail-Followup-To: Michael Snyder , gdb@sourceware.org References: <4B2CFE2C.3040105@vmware.com> <20091221040617.GA26974@caradoc.them.org> <4B2FB8CE.7020001@vmware.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4B2FB8CE.7020001@vmware.com> User-Agent: Mutt/1.5.20 (2009-06-14) X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2009-12/txt/msg00137.txt.bz2 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