This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [RFC] fullname attribute for GDB/MI stack frames
> > > We can't show the user the file, but we can use it to unambiguously
> > > place a breakpoint in the correct file.
> >
> > The same can be said about "\abc" or "d:foo".
>
> No, I don't think it can. The difference between an absolute path and
> a partially relative path is that an absolute path has no implicit
> information. If GDB reports that one file includes a header c:\abc and
> another includes \abc, the front end has to guess whether GDB considers
> those the same file or not.
This is very true. This will break CGDB for instance. It use's the
fullname as a unique key to a file. If GDB says that c:\abc has 2
breakpoints and \abc has 1, CGDB will have 2 source files the user can
choose and each will contain it's own breakpoints.
It should just think there is 1 file.
What would 'info sources' do in this case anyways?
Thanks,
Bob Rossi