This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
-file-list-exec-source-files output
- From: Bob Rossi <bob at brasko dot net>
- To: gdb at sources dot redhat dot com
- Date: Tue, 10 Feb 2004 15:17:49 -0500
- Subject: -file-list-exec-source-files output
Date: Fri, 6 Feb 2004 23:41:12 -0500
From: Bob Rossi <bob@brasko.net>
To: Kip Macy <kmacy@fsmware.com>
Cc: Andrew Cagney <cagney@gnu.org>, gdb@sources.redhat.com
Subject: Re: -file-list-exec-source-files implementation
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.
I am waiting to see if this output would be appropriate. Is it?
Thanks,
Bob Rossi