This is the mail archive of the gdb@sourceware.org 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 and scripting languages - which


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



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