From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7211 invoked by alias); 17 Oct 2012 16:27:33 -0000 Received: (qmail 7180 invoked by uid 22791); 17 Oct 2012 16:27:31 -0000 X-SWARE-Spam-Status: No, hits=-6.9 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,RCVD_IN_DNSWL_HI,RCVD_IN_HOSTKARMA_W,RP_MATCHES_RCVD,SPF_HELO_PASS X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 17 Oct 2012 16:27:23 +0000 Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q9HGRLRo016655 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 17 Oct 2012 12:27:22 -0400 Received: from barimba (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by int-mx11.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id q9HGRKFK031762 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Wed, 17 Oct 2012 12:27:21 -0400 From: Tom Tromey To: Pedro Alves Cc: Sanjoy Das , gdb-patches@sourceware.org Subject: Re: [PATCH 3/3] Add a test case for the jit-reader interface. References: <1349696849-9056-1-git-send-email-sanjoy@playingwithpointers.com> <1349696849-9056-4-git-send-email-sanjoy@playingwithpointers.com> <871ugy896w.fsf@fleche.redhat.com> <507ED9B1.8070201@redhat.com> Date: Wed, 17 Oct 2012 16:27:00 -0000 In-Reply-To: <507ED9B1.8070201@redhat.com> (Pedro Alves's message of "Wed, 17 Oct 2012 17:15:45 +0100") Message-ID: <87r4ox3vyv.fsf@fleche.redhat.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2012-10/txt/msg00278.txt.bz2 >>>>> "Pedro" == Pedro Alves writes: Pedro> This means that shlib tests are never skipped on native, but Pedro> it doesn't prevent it from running elsewhere. Oh, duh. Sanjoy, your test has to check isnative. Pedro> Should the test be native-only? If so, why? Doesn't the jit Pedro> interface work when debugging with remote targets (e.g., Pedro> gdbserver)? It does, but this tests the 'jit-reader-load' functionality, which means it must build a .so that gdb itself loads. 'isnative' isn't maybe exactly the right test -- you might have a build-x-host toolchain -- but it seems simplest. Tom