misc extended scripting bits

Daniel Jacobowitz drow@false.org
Tue Nov 13 21:08:00 GMT 2007


On Tue, Nov 13, 2007 at 10:35:16AM -0800, Cary Coutant wrote:
> > I keep talking about it but not having time to work on it :-(  The
> > wiki link points over here:
> >
> >  http://sourceware.org/gdb/wiki/ProjectIdeas
> >  http://sourceware.org/ml/gdb/2007-01/msg00126.html
> >
> > I believe we reached a more-or-less agreement on Python.  I hope that
> > either someone else will find time to work on and contribute this, or
> > else that I will.  I was hoping it would get done in 2007 but unless
> > my December is a lot more boring than my November is going to be, I
> > won't have time.
> 
> 
> I'm interested in working on this. Has any progress been made at all towards
> getting this into gdb?

Not yet.  I'd be delighted to talk to anyone interested in this.

For posterity, I've attached three patches.

One of them lets the GDB CLI do some minimal things with strings
without having to call malloc; just enough to pass them to scripting
language functions.

The next provides a minimal glue between MI and Guile.  Not only is it
the wrong language, but also the wrong layer - Jim persuaded me that
MI was not a sensible level of abstraction for this.  I'm sharing it
only in the hopes it may be useful.

The third is an abortive attempt at doing the same thing in Python.
I ran out of time; this patch is pretty old now.

-- 
Daniel Jacobowitz
CodeSourcery
-------------- next part --------------
A non-text attachment was scrubbed...
Name: strings.patch
Type: text/x-diff
Size: 7984 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/gdb/attachments/20071113/4da31adb/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: reduced-guile-20061219.patch
Type: text/x-diff
Size: 29184 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/gdb/attachments/20071113/4da31adb/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: python.patch
Type: text/x-diff
Size: 4010 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/gdb/attachments/20071113/4da31adb/attachment-0002.bin>


More information about the Gdb mailing list