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 output


I think so. Thanks.

On a sidenote - linking in libperl doesn't work as cleanly as
advertised. I think I'll be moving perl into a separate process
much earlier than I had initially expected. It sounds like you've
done some work that would make that easier for me. Maybe we should
coordinate?


			-Kip

On Tue, 10 Feb 2004, Bob Rossi wrote:

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


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