-file-list-exec-source-files implementation

Andrew Cagney cagney@gnu.org
Tue Feb 10 21:59:00 GMT 2004


> ^done,symfiles={symfile=[{filename="foo.c",fullname="/home/.../foo.c"}],symfile=[{...}]},
>> psymfiles={psymfile=[{filename="bar.c",fullname="/home/.../bar.c"}]}
> 
> 
> I can't say if this output would be "appropriate", but it is more in
> line with the documented MI grammar.

It's certainly closer (yes trying to get it right is important :-).

I think it should simply be:

^done,files=[{filename="bar.c",fullname="/foo/bar.c"},...]

Since symtab and psymtab are internal implementation details they 
shouldn't be revealed by this command.

Andrew

(don't forget doco and test updates)




More information about the Gdb mailing list