From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9174 invoked by alias); 11 Apr 2016 19:55:54 -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 9103 invoked by uid 89); 11 Apr 2016 19:55:54 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD,SPF_HELO_PASS autolearn=ham version=3.3.2 spammy=nonetheless X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Mon, 11 Apr 2016 19:55:43 +0000 Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 8946163142; Mon, 11 Apr 2016 19:55:42 +0000 (UTC) Received: from host1.jankratochvil.net (ovpn-116-59.ams2.redhat.com [10.36.116.59]) by int-mx11.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u3BJtbLG012298 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Mon, 11 Apr 2016 15:55:41 -0400 Date: Mon, 11 Apr 2016 19:55:00 -0000 From: Jan Kratochvil To: "Metzger, Markus T" Cc: "gdb-patches@sourceware.org" Subject: Re: [testsuite patch] Fix gdb.btrace/tailcall-only.exp errors on x86_64-m32 Message-ID: <20160411195537.GA22299@host1.jankratochvil.net> References: <20160408155331.GA31979@host1.jankratochvil.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) X-IsSubscribed: yes X-SW-Source: 2016-04/txt/msg00222.txt.bz2 Hello Markus, On Mon, 11 Apr 2016 08:44:23 +0200, Metzger, Markus T wrote: > > From: gdb-patches-owner@sourceware.org [mailto:gdb-patches- > > owner@sourceware.org] On Behalf Of Jan Kratochvil [...] > > $ runtest 'CC_FOR_TARGET=gcc -m32' gdb.btrace/tailcall-only.exp Running [...] > I'm setting the target triplet to "i686-unknown-linux" in my m32 configuration. > Like this: > > set target_triplet "i686-unknown-linux" > set_board_info cflags "-m32" that is an interesting idea and I agree it is a more correct way to run the testsuite. Nonetheless it seems to me GDB does not require arch-specific target_triplet to be set, I have searched now a bit and picked for example: https://sourceware.org/ml/gdb-patches/2010-07/msg00343.html This is why the functions like is_lp64_target were created. I will leave it up to the GDB maintainers what is the correct way and possibly adjust my testing scripts accordingly. Thanks, Jan