From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29442 invoked by alias); 25 Jun 2006 04:07:28 -0000 Received: (qmail 28841 invoked by uid 22791); 25 Jun 2006 04:07:25 -0000 X-Spam-Check-By: sourceware.org Received: from nile.gnat.com (HELO nile.gnat.com) (205.232.38.5) by sourceware.org (qpsmtpd/0.31) with ESMTP; Sun, 25 Jun 2006 04:07:20 +0000 Received: from localhost (localhost [127.0.0.1]) by filtered-nile.gnat.com (Postfix) with ESMTP id C922648CEB3 for ; Sun, 25 Jun 2006 00:07:17 -0400 (EDT) Received: from nile.gnat.com ([127.0.0.1]) by localhost (nile.gnat.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 01261-02-8 for ; Sun, 25 Jun 2006 00:07:17 -0400 (EDT) Received: from takamaka.act-europe.fr (s142-179-108-108.bc.hsia.telus.net [142.179.108.108]) by nile.gnat.com (Postfix) with ESMTP id B86CE48CC13 for ; Sun, 25 Jun 2006 00:07:16 -0400 (EDT) Received: by takamaka.act-europe.fr (Postfix, from userid 507) id 30D7747E7F; Sat, 24 Jun 2006 21:07:15 -0700 (PDT) Date: Sun, 25 Jun 2006 13:00:00 -0000 From: Joel Brobecker To: gdb@sources.redhat.com Subject: Re: Should "dir" override the full path encoded in debug info? Message-ID: <20060625040715.GH22750@adacore.com> References: <20060623201019.GX22750@adacore.com> <20060624065920.GB22750@adacore.com> <20060624071058.GD22750@adacore.com> <20060624075143.GF22750@adacore.com> <20060624133051.GB26555@nevyn.them.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060624133051.GB26555@nevyn.them.org> User-Agent: Mutt/1.4i Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2006-06/txt/msg00218.txt.bz2 > I think that's a bug, but the fix for the bug won't make you any > happier - if told to fix it, I'd probably make the compilation > directory be searched first. But don't quote me on that; I haven't > looked at this code in a while (I have another bug to fix in it but it > takes me so long to re-internalize how it works that I haven't done it > yet). That's what I thought too. I don't think it's a big deal because our setup is probably pretty rare. I'll see about the new rewrite command. Any suggestion on the name of that new command and its syntax. Something like this? (gdb) rewrite-source-path old-pattern new-pattern Or rewrite-source-dir. It's a bit on the longer side, but can't find any better name. Help! Thanks, -- Joel