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: Gdb with Guile


On Wed, Sep 29, 2004 at 05:32:48PM -0700, Brian McQueen wrote:
> I was wondering if you guys had considered linking guile in with gdb to 
> provide the extension language functionality prior to going ahead with 
> MI.  With Guile it is very easy to add a lightweight, yet excellent 
> extension language, and it is a complementary GNU project.  I think it 
> would be a fun project.  That's why I'm asking - I'd like to do it 
> myself.  So I wonder if it was considered to be a bad idea.  How did you 
> arrive at MI1 and MI2?  Being quite familiar with Guile, I think it 
> would be a better choice.

MI solves a different problem than Guile would.  MI is not an extension
language; it is a mechanism to interact with GDB in a machine-parseable
fashion from an external program.

Guile support has been on my TODO as a low-priority item for ages, and
on others' as well I suspect.  If you wanted to implement it... by all
means!

Make sure to take a look at the list archives; Kip mentioned his Perl
implementation, and the documentation for that was available online at
one time.  It may still be.  Also, you may want to discuss design on
this list.  (And, you'll need to get a GNU copyright assignment that
covers GDB, if you don't already have one...)

-- 
Daniel Jacobowitz


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