From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20748 invoked by alias); 21 Dec 2009 18:08:04 -0000 Received: (qmail 20740 invoked by uid 22791); 21 Dec 2009 18:08:04 -0000 X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from smtp-outbound-1.vmware.com (HELO smtp-outbound-1.vmware.com) (65.115.85.69) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 21 Dec 2009 18:08:00 +0000 Received: from jupiter.vmware.com (mailhost5.vmware.com [10.16.68.131]) by smtp-outbound-1.vmware.com (Postfix) with ESMTP id 4B0871314C for ; Mon, 21 Dec 2009 10:07:59 -0800 (PST) Received: from [10.20.94.141] (msnyder-server.eng.vmware.com [10.20.94.141]) by jupiter.vmware.com (Postfix) with ESMTP id 407A7DC056; Mon, 21 Dec 2009 10:07:59 -0800 (PST) Message-ID: <4B2FB8CE.7020001@vmware.com> Date: Mon, 21 Dec 2009 18:08:00 -0000 From: Michael Snyder User-Agent: Thunderbird 1.5.0.12 (X11/20090624) MIME-Version: 1.0 To: Michael Snyder , gdb@sourceware.org Subject: Re: Is this a bug? "target remote" doesn't follow "set architecture" References: <4B2CFE2C.3040105@vmware.com> <20091221040617.GA26974@caradoc.them.org> In-Reply-To: <20091221040617.GA26974@caradoc.them.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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/msg00136.txt.bz2 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. And "set archi" offers it as a choice.