GDB and scripting languages - which
Kip Macy
kip.macy@gmail.com
Tue Jan 9 21:55:00 GMT 2007
On 1/9/07, Nick Roberts <nickrob@snap.net.nz> wrote:
> > I would think it's good to stay away from TCL. I won't say more
> > because I don't want to start a language war. Python can certainly be
> > scripted, and it has good support for testsuite type things.
>
> TCL is what Totalview uses for it's CLI; it's quite adequate for basic
> programming. How complex will these scripts be? Generally .gdbinit is
> just a series of small functions.
My intent when I added perl support to GDB (not my choice, its what
the company I was working at prefers), was to automate some fairly
complex triage. My personal experience with tcl would lead me to
believe that tcl is underpowered. Although with tcl it would be
possible, whereas with gdb's macro language it really isn't. I think
gdb's current macro support is more than adequate for .gdbinit.
-Kip
-Kip
More information about the Gdb
mailing list