From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32376 invoked by alias); 18 Oct 2002 00:11:36 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 32365 invoked from network); 18 Oct 2002 00:11:35 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sources.redhat.com with SMTP; 18 Oct 2002 00:11:35 -0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.11.6/8.11.6) with ESMTP id g9HNogw24934 for ; Thu, 17 Oct 2002 19:50:42 -0400 Received: from pobox.corp.redhat.com (pobox.corp.redhat.com [172.16.52.156]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id g9I0BYf27234; Thu, 17 Oct 2002 20:11:34 -0400 Received: from localhost.localdomain (vpn50-24.rdu.redhat.com [172.16.50.24]) by pobox.corp.redhat.com (8.11.6/8.11.6) with ESMTP id g9I0BST19789; Thu, 17 Oct 2002 20:11:28 -0400 Received: (from kev@localhost) by localhost.localdomain (8.11.6/8.11.6) id g9I0BNu14290; Thu, 17 Oct 2002 17:11:23 -0700 Date: Thu, 17 Oct 2002 17:11:00 -0000 From: Kevin Buettner Message-Id: <1021018001122.ZM14289@localhost.localdomain> In-Reply-To: Kevin Buettner "Re: [PATCH RFA] New constvars.exp tests" (Oct 17, 1:31pm) References: <1021010203259.ZM16308@localhost.localdomain> <3DAF185B.7010100@redhat.com> <1021017203123.ZM10256@localhost.localdomain> To: Fernando Nasser Subject: Re: [PATCH RFA] New constvars.exp tests Cc: gdb-patches@sources.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2002-10/txt/msg00295.txt.bz2 On Oct 17, 1:31pm, Kevin Buettner wrote: > On Oct 17, 4:06pm, Fernando Nasser wrote: > > > This looks good. If I am not mistaken, your patch that fixes the > > printing has been already committed so these tests will either PASS or > > XFAIL. > > You're right; the patch is in, but I recall seeing XPASSes for my new > tests (along with a lot of other tests) when I used Dwarf 2. I > suspect that something's going wrong with the following code: > > proc local_compiler_xfail_check { } { > global gcc_compiled; > > if {$gcc_compiled} then { > if { ![test_debug_format "HP"] \ > && ![test_debug_format "DWARF 2"] } then { > setup_xfail "*-*-*" > } > } > } > > I'm double checking and looking into it now... It turns out that the above check is okay. It's gdb's ``info source'' command which is having problems. When I configure & build gdb using absolute paths, I'm NOT seeing the problem, but when I'm using relative paths, I am. Still haven't completely figured it out yet. Anyway, I don't think it's a testsuite problem, but a gdb problem instead. Kevin