From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10923 invoked by alias); 10 Sep 2014 20:29:18 -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 10907 invoked by uid 89); 10 Sep 2014 20:29:16 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-5.2 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.2 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; Wed, 10 Sep 2014 20:29:14 +0000 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id s8AKT9F2026773 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 10 Sep 2014 16:29:10 -0400 Received: from host2.jankratochvil.net (ovpn-116-53.ams2.redhat.com [10.36.116.53]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id s8AK6vSk023375 (version=TLSv1/SSLv3 cipher=AES128-GCM-SHA256 bits=128 verify=NO); Wed, 10 Sep 2014 16:06:59 -0400 Date: Wed, 10 Sep 2014 20:29:00 -0000 From: Jan Kratochvil To: Doug Evans Cc: Thomas Schwinge , gdb-patches@sourceware.org Subject: Re: [GCC PR55056] Re: [RFC patch] testsuite: Workaround issues with GCC 4.8.0pre + gdb.trace new KFAIL Message-ID: <20140910200657.GA11350@host2.jankratochvil.net> References: <20130126202645.GA4888@host2.jankratochvil.net> <5106D7E1.1060705@codesourcery.com> <20130129174955.GA17823@host2.jankratochvil.net> <20130202092240.GA24458@host2.jankratochvil.net> <20130203172721.GA8611@host2.jankratochvil.net> <87r4g4vo94.fsf@kepler.schwinge.homeip.net> <20130614133849.GA12925@host2.jankratochvil.net> <21519.28248.577451.227482@ruffy2.mtv.corp.google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <21519.28248.577451.227482@ruffy2.mtv.corp.google.com> User-Agent: Mutt/1.5.23 (2014-03-12) X-IsSubscribed: yes X-SW-Source: 2014-09/txt/msg00342.txt.bz2 On Tue, 09 Sep 2014 23:17:12 +0200, Doug Evans wrote: > Have you thought of how you might do it differently now? gcc-4.4.7-4.el6.x86_64 at least for restore.exp produces with line 75: gdb_test "info addr l$var" only patterns: Symbol "l\d+" is a variable in $r\d+. While gcc-4.9.1-7.fc21.x86_64 with the patch of mine we discuss here produces in half the cases: Symbol "l1" is a complex DWARF expression: 0: DW_OP_fbreg -44 And therefore the testcase no longer really tests the GDB feature. Therefore proposing to make it x86_64 arch specific testcase with gcc-4.4.7-4.el6.x86_64-precompiled .S file. For the test I tried only restore.exp now, I will check more the others. Another possibility would be to make the testcase -Og compatible as GCC hackers in https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55056 say that the variables then should not be . I have tested that with -Og the testcase currently FAILs already on various line-matching issues. But I find the arch-specific .S file safer. Jan