This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [RFC] gdb_realpath causes problems with GVD
- From: Eli Zaretskii <eliz at is dot elta dot co dot il>
- To: Joel Brobecker <brobecker at ACT-Europe dot FR>
- Cc: drow at mvista dot com, gdb-patches at sources dot redhat dot com
- Date: Wed, 20 Mar 2002 08:02:33 +0200 (IST)
- Subject: Re: [RFC] gdb_realpath causes problems with GVD
On Tue, 19 Mar 2002, Joel Brobecker wrote:
> > I'm not sure yet. My doubt stems from the fact that directories are
> > also recorded in the debug info, at least with some formats (stabs,
> > DWARF2). One place in GDB where we use this is in file-name
> > completion, for example when you type "break /foo TAB" and want GDB
> > to complete this to "break /foobar/foo.c" (assuming that there's only
> > one file foo.c in that directory that was compiled into the program).
> >
> > Will this break if symlinks are followed in the directory part, but
> > not in the file-name part?
>
> It seems it does.
I'm not sure I understand what are you saying: does completion work or
does it break in that case? I cannot figure out from your script
whether you tried completion, and if so, in what part of the script.