[MI] -file-list-exec-source-files

Daniel Jacobowitz drow@false.org
Tue Feb 17 21:37:00 GMT 2004


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?

-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer



More information about the Gdb mailing list