From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id nnrVMlnroGJltgAAWB0awg (envelope-from ) for ; Wed, 08 Jun 2022 14:32:57 -0400 Received: by simark.ca (Postfix, from userid 112) id BF1DE1E223; Wed, 8 Jun 2022 14:32:57 -0400 (EDT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, NICE_REPLY_A,RDNS_DYNAMIC autolearn=ham autolearn_force=no version=3.4.6 Received: from sourceware.org (ip-8-43-85-97.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id 2F5351E220 for ; Wed, 8 Jun 2022 14:32:57 -0400 (EDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id AFD43388B5A1 for ; Wed, 8 Jun 2022 18:32:56 +0000 (GMT) Received: from mail-wr1-f45.google.com (mail-wr1-f45.google.com [209.85.221.45]) by sourceware.org (Postfix) with ESMTPS id 088FD38485B2 for ; Wed, 8 Jun 2022 18:32:46 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 088FD38485B2 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=palves.net Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-wr1-f45.google.com with SMTP id d14so20453697wra.10 for ; Wed, 08 Jun 2022 11:32:45 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=JFfZAwDT2JvGQFUrQd17cY/Dk7xRa0Y0z2OQ8O4akUM=; b=eAxTYwlfu9Mr7CbCw5zb9HZdoR9O7P2wGqrTYb9UUpbGDgkpVXwpYEnOd6XI4HuX3N 8ch6BGpFBFEQkLdzYcdqMdOMBzV7CY9FGHck5p27YQMyXp22WVGQPgTVc+RJZNOIinAK uOTHeJWGYKOGj8yd9o/jLzwqEHTyb9B54jbNCCjpGhPqD7wcP3vlKGEDP273L2/F/t5n JSfFREdYIkDzycN+uXF4UqDJy2JoY7QFaFAdIq7RQwNymGAk3K60j8aPpeHdfJhM/zzD km5dUbMgS2bkux5Lk2j6fz/zadZq9PeQig5mx0WZMXS0P7a+mmhyQVw0Utsji9P7XLoe MpZA== X-Gm-Message-State: AOAM531YUmaARrn/OTEkQF9Yaq9sxmkAx/92KlUOkVTdeNwqvVjrmDou KV2WVqerrJprCzNKKlZc6KX+H97c+z1AwQ== X-Google-Smtp-Source: ABdhPJwgUzsW1uEZgvH6L8WTmhMLWP+H/LMjRCbcvmz7MaPduBWUHf+XGz+ZN5vRYC3/ohbVnmL8lg== X-Received: by 2002:a05:6000:186f:b0:213:4ece:4086 with SMTP id d15-20020a056000186f00b002134ece4086mr33833720wri.438.1654713165051; Wed, 08 Jun 2022 11:32:45 -0700 (PDT) Received: from ?IPV6:2001:8a0:f924:2600:209d:85e2:409e:8726? ([2001:8a0:f924:2600:209d:85e2:409e:8726]) by smtp.gmail.com with ESMTPSA id eh2-20020a05600c61c200b0039c54f34948sm8746986wmb.5.2022.06.08.11.32.43 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 08 Jun 2022 11:32:44 -0700 (PDT) Message-ID: Date: Wed, 8 Jun 2022 19:32:42 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.9.1 Subject: Re: [PATCH V3] PowerPC: fix for gdb.base/eh_return.exp Content-Language: en-US To: Carl Love , Kevin Buettner References: <76bea9ad010a71ea5e2c7fd78f818bdb399810a6.camel@us.ibm.com> <20220506110826.5e16c8b6@f35-zws-1> <70a877cc-2f35-3924-6717-9d519c2730c5@palves.net> <099c8f8d8729a0051f83a034d62c18f03c789167.camel@vnet.ibm.com> <37d2a4b6a57b62662f0417f123bda6ba48066554.camel@vnet.ibm.com> <998d3f4859f16b73afd5103b682246643fef6d42.camel@us.ibm.com> <20220511154822.3b9f7d74@f35-zws-1> From: Pedro Alves In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Rogerio Alves , gdb-patches@sourceware.org Errors-To: gdb-patches-bounces+public-inbox=simark.ca@sourceware.org Sender: "Gdb-patches" On 2022-06-02 17:52, Carl Love wrote: > Kevin: > > On Wed, 2022-05-11 at 15:48 -0700, Kevin Buettner wrote: >> On Wed, 11 May 2022 14:52:32 -0700 >> Carl Love wrote: >> >>> + # Disable the Traceback Table generation, using the PowerPC >>> specific >>> + # gcc option, so the test gdb_test_multiple "disassemble eh2" >>> will match >> >> What happens when some compiler other than gcc is used to run the >> test? > > I updated the patch to set the compiler options for gcc and XLC. The > test was run on AIX and passes with the patch. Note that AIX actually > uses gcc to compile gdb. We tried compiling gdb with the xlc compiler. > We ran into other gdb compilation errors that we were not able to > resolve. We were able to verify that the xlc options to disable the > Traceback Buffer were right but that was it. The compiler used to build gdb does not have to be the same used to run tests. You can build gdb with gcc as usual, and then run tests with some other compiler, like: $ make check RUNTESTFLAGS="CC_FOR_TARGET=foo CXX_FOR_TARGET=foo++" Pedro Alves > > If other compilers are used to compile gdb on power, the option for > that compiler to disable the Traceback Table will need to be added to > the test otherwise the test will fail for that compiler. > > I will post the updated version of the patch.