From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24686 invoked by alias); 20 Mar 2002 11:12:06 -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 24505 invoked from network); 20 Mar 2002 11:12:01 -0000 Received: from unknown (HELO is.elta.co.il) (199.203.121.2) by sources.redhat.com with SMTP; 20 Mar 2002 11:12:01 -0000 Received: from is (is [199.203.121.2]) by is.elta.co.il (8.9.3/8.8.8) with SMTP id NAA28015; Wed, 20 Mar 2002 13:10:54 +0200 (IST) Date: Wed, 20 Mar 2002 03:12:00 -0000 From: Eli Zaretskii X-Sender: eliz@is To: Joel Brobecker cc: drow@mvista.com, gdb-patches@sources.redhat.com Subject: Re: [RFC] gdb_realpath causes problems with GVD In-Reply-To: <20020320101408.C22439@act-europe.fr> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-SW-Source: 2002-03/txt/msg00383.txt.bz2 On Wed, 20 Mar 2002, Joel Brobecker wrote: > I have a sad news: filename > completion does not work in the case you mentionned, but this issue is > not related to my change. I tried with an unmodified GDB, and got the > same behavior. What version of GDB was that, and what debug info format does your compiler use? > I also tried without a simple example without any > symbolic link, and it did not work either. It only completes if we enter > the filename without the directory prefix, with and without my change. This certainly works for me, at least in GDB 5.1.1 with stabs and DWARF2 debug info. It doesn't work with COFF debug info, but that's because COFF doesn't record the leading directories, only the basename. Running "objdump --debugging" on the executable should show whether full file names with leading directories are recorded or not. > Shall I go ahead and implement Andrew's suggestions? I don't have anything against Andrew's suggestions, but they only change minor (although important) clerical details. I don't call the shots in this matter, but I'd certainly hate to lose the file-name completion due to this patch. My suggestion would be to find a version of GDB where completion does work, and then see whether your changes have any adverse effect on it, before making the decision whether to accept the patch.