This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: GDB and scripting languages - which
Jim Blandy <jimb@codesourcery.com> writes:
> In the broadest terms, debugging is about watching your programs run.
> There are so many possible things people might want to do with that.
> To address the three things I mentioned:
> - Some kind of remote monitoring would need network support.
> - Debugging performance problems would benefit from graphing.
> - GUI facilities could broaden the audience of almost anything.
Hi,
I confess to be enthusiastic about Python in gdb. Other libraries
such as 'pexpect' are pretty useful as well. Over Christmas I had to
write a python script which ran two gdb's debugging stage2 and stage3
GNU Modula-2 compiler binaries (the later was broken somewhere). The
script instantiated two classes controlling the gdbs, ran to a known
break point and then single stepped each a.out until the line numbers
or source files differed. Lazy debugging, but useful over the holiday
period.
regards,
Gaius