From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19665 invoked by alias); 13 Jan 2011 18:51:44 -0000 Received: (qmail 19653 invoked by uid 22791); 13 Jan 2011 18:51:43 -0000 X-SWARE-Spam-Status: No, hits=-4.7 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,T_RP_MATCHES_RCVD 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; Thu, 13 Jan 2011 18:51:37 +0000 Received: from mailhost3.vmware.com (mailhost3.vmware.com [10.16.27.45]) by smtp-outbound-1.vmware.com (Postfix) with ESMTP id 5CFB644001; Thu, 13 Jan 2011 10:51:36 -0800 (PST) Received: from msnyder-server.eng.vmware.com (promd-2s-dhcp138.eng.vmware.com [10.20.124.138]) by mailhost3.vmware.com (Postfix) with ESMTP id 299B9CD973; Thu, 13 Jan 2011 10:51:35 -0800 (PST) Message-ID: <4D2F49B7.3020901@vmware.com> Date: Thu, 13 Jan 2011 18:51:00 -0000 From: Michael Snyder User-Agent: Thunderbird 2.0.0.24 (X11/20101201) MIME-Version: 1.0 To: Joel Brobecker CC: "gdb@sourceware.org" Subject: Re: Question re: testsuite, "isnative", "is_remote" etc. References: <4D2E35C5.60206@vmware.com> <20110112232003.GK2518@adacore.com> <4D2E37FB.8080300@vmware.com> <4D2F440B.6020001@vmware.com> <20110113183700.GN2518@adacore.com> In-Reply-To: <20110113183700.GN2518@adacore.com> 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: 2011-01/txt/msg00045.txt.bz2 Joel Brobecker wrote: > I'm as stumped as your are on this issue. Can we perhaps try to step > back and see in what context you need this test? Perhaps this is going > to help thinking about this differently... > Sure. I'm running the testsuite with gdbserver. The host machine and the target machine are both configured as i386-linux-gnu, but they are different machines (in fact running different versions of the OS). Which probably isn't that important in this context. So "isnative" returns true, because all it does is compare the host and target triple. Also "is_remote" returned false until I figured out that I needed to add set_board_info isremote 1 to my board description file. This is apparently the only purpose of this variable. It doesn't appear in the gdb docs, I haven't really looked for it in dejagnu docs (such as they may be).