From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32103 invoked by alias); 25 Jun 2006 13:00:21 -0000 Received: (qmail 32085 invoked by uid 22791); 25 Jun 2006 13:00:20 -0000 X-Spam-Check-By: sourceware.org Received: from sadr.equallogic.com (HELO sadr.equallogic.com) (66.155.203.134) by sourceware.org (qpsmtpd/0.31) with ESMTP; Sun, 25 Jun 2006 13:00:14 +0000 Received: from sadr.equallogic.com (localhost.localdomain [127.0.0.1]) by sadr.equallogic.com (8.12.8/8.12.8) with ESMTP id k5PD0CUQ032281 for ; Sun, 25 Jun 2006 09:00:12 -0400 Received: from M31.equallogic.com (M31.equallogic.com [172.16.1.31]) by sadr.equallogic.com (8.12.8/8.12.8) with SMTP id k5PD0Bce032276; Sun, 25 Jun 2006 09:00:11 -0400 Received: from PKONING.equallogic.com ([172.16.3.149]) by M31.equallogic.com with Microsoft SMTPSVC(6.0.3790.211); Sun, 25 Jun 2006 09:00:11 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17566.35019.750000.543186@gargle.gargle.HOWL> Date: Sun, 25 Jun 2006 18:49:00 -0000 From: Paul Koning To: brobecker@adacore.com Cc: gdb@sources.redhat.com Subject: Re: Should "dir" override the full path encoded in debug info? References: <20060623201019.GX22750@adacore.com> <20060624065920.GB22750@adacore.com> <20060624071058.GD22750@adacore.com> <20060624075143.GF22750@adacore.com> <20060624133051.GB26555@nevyn.them.org> <20060625040715.GH22750@adacore.com> X-Mailer: VM 7.07 under 21.4 (patch 10) "Military Intelligence (Windows)" XEmacs Lucid X-IsSubscribed: yes 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/msg00219.txt.bz2 >>>>> "Joel" == Joel Brobecker writes: >> 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). Joel> That's what I thought too. I don't think it's a big deal Joel> because our setup is probably pretty rare. I'll see about the Joel> new rewrite command. Any suggestion on the name of that new Joel> command and its syntax. Something like this? Joel> (gdb) rewrite-source-path old-pattern new-pattern Joel> Or rewrite-source-dir. It's a bit on the longer side, but can't Joel> find any better name. Help! I called it "source-substitution" but "rewrite-source-path" is clearer. I wouldn't make it "rewrite-source-dir". At least in my case, it's a rewrite of the entire name, so (in theory at elast) it could rewrite the filename. In our case that hasn't been needed but why disallow it? paul