Re: [RFC] gdb_realpath causes problems with GVD

Eli Zaretskii
2002-03-20T06:04:02Z

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.