This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: [MI] -file-list-exec-source-files
On Tue, Feb 17, 2004 at 04:36:59PM -0500, Daniel Jacobowitz wrote:
> On Tue, Feb 17, 2004 at 04:08:18PM -0500, Bob Rossi wrote:
> > Ok, now that I see the light, this is the only function I will need.
> >
> > -file-list-exec-source-files
> >
> > It will output the filename/fullname pair for every file.
> > This will give me
> > - a mapping between relative(filename) and absolute paths(fullname)
> > - compatibility with old MI functions that only return the filename
> >
> > I was originally hesitant to do this because I thought I could only get
> > the fullname from the psymtabs by reading in the symtab. I though this
> > was too expensive. However, know it seems like some of the GDB
> > developers think I can get access to the dirname with out reading in the
> > entire symtab. I think this will be the easiest way to solve all of the
> > problems.
>
> Do we want to qualify this by shared object?
>
> i.e. list the source files part of Application, the source files part
> of libShared1.so, libc.so, et cetera?
I think that's a great idea!
Bob Rossi