This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: -file-list-exec-source-files implementation


^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)



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]