This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: -file-list-exec-source-files implementation
On Tue, Feb 10, 2004 at 04:59:45PM -0500, Andrew Cagney wrote:
> >^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.
Ok, I like this better also, I was trying to closer mirror the 'info
sources' command.
>
> Andrew
>
> (don't forget doco and test updates)
No problem.
Thanks,
Bob Rossi