From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id aWLJKl1Bh2q8nzIAWB0awg (envelope-from ) for ; Thu, 20 Aug 2026 14:03:09 -0400 Authentication-Results: simark.ca; dkim=pass (2048-bit key; unprotected) header.d=cebitec.uni-bielefeld.de header.i=@cebitec.uni-bielefeld.de header.a=rsa-sha256 header.s=20200306 header.b=RQMVmRGJ; dkim-atps=neutral Received: by simark.ca (Postfix, from userid 112) id AB1911E0A3; Thu, 20 Aug 2026 14:03:09 -0400 (EDT) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-25) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-5.4 required=5.0 tests=ARC_SIGNED,ARC_VALID,BAYES_00, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED autolearn=ham autolearn_force=no version=4.0.1 Received: from vm01.sourceware.org (vm01.sourceware.org [IPv6:2620:52:6:3111::32]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id 20C1E1E033 for ; Thu, 20 Aug 2026 14:03:09 -0400 (EDT) Received: from vm01.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id B4FB44BB1C07 for ; Thu, 20 Aug 2026 18:03:07 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org B4FB44BB1C07 Authentication-Results: sourceware.org; dkim=pass (2048-bit key, unprotected) header.d=cebitec.uni-bielefeld.de header.i=@cebitec.uni-bielefeld.de header.a=rsa-sha256 header.s=20200306 header.b=RQMVmRGJ Received: from smtp.CeBiTec.Uni-Bielefeld.DE (smtp.CeBiTec.Uni-Bielefeld.DE [129.70.160.84]) by sourceware.org (Postfix) with ESMTPS id 7B7C54B99F64 for ; Thu, 20 Aug 2026 18:02:44 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 7B7C54B99F64 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=CeBiTec.Uni-Bielefeld.DE Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=cebitec.uni-bielefeld.de ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 7B7C54B99F64 Authentication-Results: sourceware.org; arc=none smtp.remote-ip=129.70.160.84 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1787248964; cv=none; b=KBxW3iNGcm4RF4kbKNw3BiSwVN6lfpUFe8Td4+fiNuNa79r/RXxDl4wuYHfPttpJKqzza9MBAFQu829Rt+Iz6yQK/qut7ot3m76m2hdEHRHUF/+ObX6dGwtOb6hC3A35RVhXkV6/bg7Drrmdt3N9Mi2/fTOKi+PcyGydjBwJL6w= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1787248964; c=relaxed/simple; bh=eP/ah9m+paPpl8sHU8E5DUI6rHGqxBEMhkUQtT+DWmc=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=F69+T3W+TR9sLYwg6YH8Wbjziwp5sYkuxZR2yqXWmSG4gfwlAhVzZsoxc9dKaKzA4no4KWIugyZHVEFuXshIKP/z3gLmF+5UrN6UMkjC7QnXz7F6WinzHsy0+fsjApGQwD8ZQBUjXnKCAlSC3Y6SmFm4GNJMKe3WKB7S/fxgYE4= ARC-Authentication-Results: i=1; sourceware.org; dkim=pass (2048-bit key, unprotected) header.d=cebitec.uni-bielefeld.de header.i=@cebitec.uni-bielefeld.de header.a=rsa-sha256 header.s=20200306 header.b=RQMVmRGJ DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 7B7C54B99F64 Received: from localhost (localhost.CeBiTec.Uni-Bielefeld.DE [127.0.0.1]) by smtp.CeBiTec.Uni-Bielefeld.DE (Postfix) with ESMTP id 95728E94B3; Thu, 20 Aug 2026 20:02:43 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d= cebitec.uni-bielefeld.de; h=content-type:content-type :mime-version:user-agent:message-id:date:date:references :in-reply-to:subject:subject:from:from:received:received; s= 20200306; t=1787248963; bh=eP/ah9m+paPpl8sHU8E5DUI6rHGqxBEMhkUQt T+DWmc=; b=RQMVmRGJQyNZ09IXS1QflL3QsoFuv59KYs2mrWFRvh/hYH1Taaesp I3JtMm0w6HUPQtGTdfNGIzk8a01ITnjE2NWFGemLlMBbVViePFazAROpD/G+mZcp 31er3Q8KsuSO4Cc52Pe3kijs6Fs5xi0t3Nl02tJ0s0Ml7M75BQvvqwxe9TjlL6oL B5oa/4q0V2uV2fQBteytpFT6Zove7aREpQza5l7x32LzYEMfK4UdJDj+o3HY1aR9 /jqoymn1PAXmbHeJ7LK9DOQSL4Nu7GjMBt4Qy+ZCIORUqlbezpgxhi8xI8Eb+bBT RGWWmlyjUGtqtu5qewDaAGgSm2lSPu1mQ== X-Virus-Scanned: amavisd-new at cebitec.uni-bielefeld.de Received: from smtp.CeBiTec.Uni-Bielefeld.DE ([127.0.0.1]) by localhost (smtp.cebitec.uni-bielefeld.de [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id a6PlwzD2gili; Thu, 20 Aug 2026 20:02:43 +0200 (CEST) Received: from manam.CeBiTec.Uni-Bielefeld.DE (p508553da.dip0.t-ipconnect.de [80.133.83.218]) (Authenticated sender: ro) by smtp.CeBiTec.Uni-Bielefeld.DE (Postfix) with ESMTPSA id DFF28E94F2; Thu, 20 Aug 2026 20:02:42 +0200 (CEST) From: Rainer Orth To: Tom Tromey Cc: Subject: Re: [PATCH] xfail gdb.base/break-on-linker-gcd-function.exp with Solaris ld [PR34534] In-Reply-To: <87jypku4oo.fsf@tromey.com> (Tom Tromey's message of "Thu, 20 Aug 2026 10:39:35 -0600") References: <87jypku4oo.fsf@tromey.com> Date: Thu, 20 Aug 2026 20:02:42 +0200 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gdb-patches-bounces~public-inbox=simark.ca@sourceware.org Hi Tom, >>>>>> "Rainer" == Rainer Orth writes: > > Rainer> Even though ld supports --gc-sections as an alias for the native -z > Rainer> discard-unused=sections, this doesn't work in this particular case. > Rainer> While the issue is under investigation, this patch xfail's the test when > Rainer> Solaris ld is in use. > > Rainer> Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=34534 > > Rainer> Ok for trunk? > > A few tiny nits, ok with these fixed. > Approved-By: Tom Tromey > > Rainer> + # PR 34534 > > Write 'PR testsuite/34534'. This is the usual format and works > automatically with Emacs due to gdb/.dir-locals.el. fine with me: I've seen both forms used and wasn't sure which one is preferred these days. The full form certainly conveys more information. > Rainer> + if [regexp "Solaris Link Editors" $output] { > > Nowadays I think we brace if expressions, so "if {[...]} " Will do, although it's not necessary. Thanks. Rainer -- ----------------------------------------------------------------------------- Rainer Orth, Center for Biotechnology, Bielefeld University