From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30468 invoked by alias); 16 Nov 2004 23:57:59 -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 30443 invoked from network); 16 Nov 2004 23:57:56 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org with SMTP; 16 Nov 2004 23:57:56 -0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.12.11/8.12.11) with ESMTP id iAGNvodu018208 for ; Tue, 16 Nov 2004 18:57:51 -0500 Received: from localhost.redhat.com (to-dhcp51.toronto.redhat.com [172.16.14.151]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id iAGNvjr02121; Tue, 16 Nov 2004 18:57:45 -0500 Received: from [127.0.0.1] (localhost.localdomain [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id 6CC99129D8C; Tue, 16 Nov 2004 18:57:33 -0500 (EST) Message-ID: <419A93EB.2070307@gnu.org> Date: Tue, 16 Nov 2004 23:57:00 -0000 From: Andrew Cagney User-Agent: Mozilla Thunderbird 0.8 (X11/20041020) MIME-Version: 1.0 To: Randolph Chung Cc: gdb-patches@sources.redhat.com Subject: Re: [RFA] unload.exp path fix References: <20041116222911.GY15714@tausq.org> In-Reply-To: <20041116222911.GY15714@tausq.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2004-11/txt/msg00348.txt.bz2 Randolph Chung wrote: > According to gdb.exp, gdb_get_line_number takes paths relative to > ${srcdir}/${subdir}, so we should not pass in ${srcdir}/${subdir}. > > without this fix, i am seeing: > ERROR: couldn't open "../../../gdb-cvs/gdb/testsuite/gdb.base/../../../gdb-cvs/gdb/testsuite/gdb.base/unloadshr.c": no such file or directory Hmm, yes (but please state what it as tested on) > -set unloadshr_line [gdb_get_line_number "unloadshr break" ${srcdir}/${subdir}/${libsrcfile}] > +set unloadshr_line [gdb_get_line_number "unloadshr break" ${libsrcfile}] > > gdb_test "run" \ > "Starting program.*unload.* Andrew