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

Bob Rossi
2004-02-07T14:41:16Z

On Fri, Feb 06, 2004 at 06:27:45PM -0800, Kip Macy wrote:
> >
> > For the new mi command, it looks like this,
> > -file-list-exec-source-files
> > ^done,psymtab_file="/build/buildd/glibc-2.3.2.ds1/build-tree/i386-libc/csu/crtn.S",psymtab_file="/build/buildd/glibc-2.3.2.ds1/build-tree/i386-libc/csu/crti.S",psymtab_file="init.c",psymtab_fullname="/home/bob/cvs/src/src/src/gdb/init.c",psymtab_file="../sysdeps/i386/elf/start.S",psymtab_file="test.c",psymtab_fullname="/home/bob/cvs/src/src/src/gdb/test.c"
> >
> > Any objections or suggestions?
>
> Plenty of other commands violate the grammar as specified in the
> documentation, so it doesn't really matter, but technically it
> should be something like:
>
> ^done,symfiles=[psymtab_file="filename", ...]

Does anyone know if the appropriate output would be something like
below?

^done,symfiles={symfile=[{filename="foo.c",fullname="/home/.../foo.c"}],symfile=[{...}]},
psymfiles={psymfile=[{filename="bar.c",fullname="/home/.../bar.c"}]}

That groups the symfiles and the psymfiles. While grouping each
individual symfile and psymfile.

Thanks,
Bob Rossi