From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 84667 invoked by alias); 8 Jun 2016 10:25:42 -0000 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 Received: (qmail 84658 invoked by uid 89); 8 Jun 2016 10:25:42 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.8 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy= X-HELO: mail-oi0-f53.google.com Received: from mail-oi0-f53.google.com (HELO mail-oi0-f53.google.com) (209.85.218.53) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Wed, 08 Jun 2016 10:25:31 +0000 Received: by mail-oi0-f53.google.com with SMTP id k23so5539511oih.0 for ; Wed, 08 Jun 2016 03:25:31 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=dNeHvY+I1JTEtlFb8YVVCtFx1QID83NZ1w07M6FYT1k=; b=dUyDn94Qm2McEaaZ1l+qwcpzOElRaEMZrGlyfTq8tzPzgBRzk49iWbZwCeYPaxDIKT bMaYjPgImwf/fVLJY2Iu0OHE3LzNko/LdkzGb8m+hQeQzQDT3c9yM6B+ZZZMxNmcm/6f t8ZG7L3IbnWz84fNboY73du63K/FvWK0BIZaxD8931xvgCmfCnUv+xDGaIneB2N9njzv EwuxBRWOhSWg8bFYvKO+mrRwkFRf0jcHhMRT6eJG8ZqxO0eBRTld7UvXzWKty+Zttqk0 NPk/uf3C8E0k62aDaX6lbKaWV7Dn51+zMuiudnusXNaIPM5FsI/GAParkxCfBSKtBeYO hsGA== X-Gm-Message-State: ALyK8tKSBC/1iaL4NfaPV3msrDN1RY5hFVbeCnsrVeIDgmN3/gB2ssSBpeJYY+ZhsJs+dBjWSkBmdlad9p/biA== X-Received: by 10.202.239.132 with SMTP id n126mr2272905oih.98.1465381530098; Wed, 08 Jun 2016 03:25:30 -0700 (PDT) MIME-Version: 1.0 Received: by 10.202.68.4 with HTTP; Wed, 8 Jun 2016 03:25:29 -0700 (PDT) In-Reply-To: <1465377976-21678-1-git-send-email-andrew.burgess@embecosm.com> References: <1465377976-21678-1-git-send-email-andrew.burgess@embecosm.com> From: Yao Qi Date: Wed, 08 Jun 2016 10:25:00 -0000 Message-ID: Subject: Re: [PATCH] gdb: Use UNSUPPORTED not FAIL for unsupported target features To: Andrew Burgess Cc: "gdb-patches@sourceware.org" Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes X-SW-Source: 2016-06/txt/msg00156.txt.bz2 On Wed, Jun 8, 2016 at 10:26 AM, Andrew Burgess wrote: > If a target does not support making function calls from GDB then we > abandon the gdb.base/callfuncs.exp test file early. Currently we report > a single FAIL before leaving the test file, this commit changes this to > a single UNSUPPORTED. XFAIL is reported, like this, XFAIL: gdb.base/callfuncs.exp: This target can not call functions (PRMS 241= 6) I suspect you get FAIL because your target_triplet is foo-bar, so *-*-* doesn't match. --=20 Yao (=E9=BD=90=E5=B0=A7)