Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* -file-list-exec-source-files output
@ 2004-02-10 20:17 Bob Rossi
  2004-02-10 20:29 ` Kip Macy
  0 siblings, 1 reply; 2+ messages in thread
From: Bob Rossi @ 2004-02-10 20:17 UTC (permalink / raw)
  To: gdb

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: -file-list-exec-source-files output
  2004-02-10 20:17 -file-list-exec-source-files output Bob Rossi
@ 2004-02-10 20:29 ` Kip Macy
  0 siblings, 0 replies; 2+ messages in thread
From: Kip Macy @ 2004-02-10 20:29 UTC (permalink / raw)
  To: Bob Rossi; +Cc: gdb

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
>


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-02-10 20:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-02-10 20:17 -file-list-exec-source-files output Bob Rossi
2004-02-10 20:29 ` Kip Macy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox