From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24778 invoked by alias); 30 Sep 2004 00:49:04 -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 24760 invoked from network); 30 Sep 2004 00:49:03 -0000 Received: from unknown (HELO skysamba) (81.195.20.30) by sourceware.org with SMTP; 30 Sep 2004 00:49:03 -0000 Received: from garrisonhq ([127.0.0.1]) by skysamba with esmtp (Exim 4.42) id 1CCpAX-0007s9-8S; Thu, 30 Sep 2004 04:51:37 +0400 Message-ID: <415B5898.1020203@mail.ru> Date: Thu, 30 Sep 2004 00:49:00 -0000 From: Garrison User-Agent: Mozilla Thunderbird 0.6+ (X11/20040919) MIME-Version: 1.0 To: jimb@redhat.com CC: cagney@gnu.org, gdb-patches@sources.redhat.com Subject: Re: Patch: Handle relative paths in .debug_line References: <415B569E.2080805@mail.ru> In-Reply-To: <415B569E.2080805@mail.ru> X-Enigmail-Version: 0.86.0.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2004-09/txt/msg00484.txt.bz2 Garrison wrote: > Hi! > > I've taken a look at dwarf standard, and I have a question (possibly > already answered elsewhere): it is specified that relative paths in list > are related to compilation directory, so why not make the substitution > while parsing the list? If it's OK please take a look at attached patch > (sorry if it wraps this time). It's against current CVS HEAD. > > I'm not sure I got those make_cleanup() calls right, if so please correct > me. > Also I looked at regressions - this patch makes approximately the same number of failures as original relative paths patch. Test case gdb.base/unload.exp might show the reason - there seems to be a problem in handling relative paths within regression testing scripts: Running ../../../gdb-dejagnu/gdb/testsuite/gdb.base/unload.exp ... ERROR: couldn't open "../../../gdb-dejagnu/gdb/testsuite/gdb.base/../../../gdb-dejagnu/gdb/testsuite/gdb.base/unloadshr.c": no such file or directory FAIL: gdb.base/unload.exp: rerun to shared library breakpoint -- Kind regards, Igor V. Kovalenko