This is the mail archive of the gdb@sourceware.cygnus.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]

Re: AW: libGDB architecture


>>>>> "Martin" == Baulig, ITS P A800, TR <MartinB2@deutschepost.de> writes:
Martin> Oh fine.  Since I'm already working on a guile interface to
Martin> gdb, I'd be glad to help you with the scheme-specific builder
Martin> code.

Martin,

Can you tell me a bit more about your GUILE interface project?  How
closely do you track snapshots?  Do you make snapshots of your own?
Does it make sense to fold what you've done into the master GDB
sources and maintain them there?

I use GDB user defined functions extensively, but the limitations of
the existing command language has made scripts more complicated than
they should be.  I spent some time last month downloading GUILE with
a goal of first augmenting the existing command language, then later
replacing it, and finally replacing some of the C code with scripted
commands.

My first idea was to link the interpreter with GDB, have it source a
initialization script, and create a command that gets the intepreter
to eval an expression.  At first, the GDB and interpreter would not
know much about the other 'side', but that would be augmented over
time.  Unfortunately, when I downloaded GUILE, it wasn't immediately
obvious where to begin.  For an extension language, it seems to have 
a high barier to entry.

        --jtc

-- 
J.T. Conklin
RedBack Networks

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