This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: GDB and Guile
On Mon, Jul 9, 2012 at 5:09 PM, Tom Tromey <tromey@redhat.com> wrote:
> It depends on what exactly you mean here, but to I don't think we want
> any kind of generic extension API. I think the way that gdb is exposed
> to Python has to be ad hoc, and for good reason -- we want control over
> API evolution as seen by Python to a degree that we actively don't want
> internally.
I've been working on the assumption (I've only been looking at this in
my spare time for a week or so) that many of the places Guile would
interact with the rest of GDB would be the same as those that Python
uses, which would in turn lead to additional conditionalized or
duplicated functionality that could be abstracted. The suggestion that
there be a 'generic' extension API was motivated by that. If that
isn't a desirable or realistic approach then it is definitely better
not to even consider that path.
Thanks!
-tree
--
Tom Emerson
tremerson@gmail.com
http://www.dreamersrealm.net/tree