Is there any Python 'binding' for GDB ?

Lionel Ulmer bbrox at bbrox.org
Tue Oct 30 15:04:31 EST 2001


Hi all,

I was just wondering if such a beast exists somewhere... If you are
wondering what I mean by 'GDB bindings', it would be to 'drive' GDB via
Python.

For example, opening an executable file, setting breakpoints, running it,
stopping it, getting the type of a variable, getting / modifying a variable,
...

I think such a tool would be very valuable, especially to do automated unit
testing of C routines (instead of putting printfs everywhere, do it via a
Python script).

                         Lionel

-- 
		 Lionel Ulmer - http://www.bbrox.org/



More information about the Python-list mailing list