Ok, so this time I won’t talk about Python scripting support in GDB. I’m getting tired of it myself. I’ll just comment that it’s amazing the number of problems people in IRC report with GDB that can be solved with the Python support that we’re adding to it. Sometimes they need stuff which is only [...]
Posts Tagged ‘python’
status update on GDB work
Posted in english, tagged community, development, gdb, gsoc, linkedin, linux, open source, planet ltc, python on Sunday, May 24, 2009 | 2 Comments »
status update on python scripting support
Posted in english, tagged community, development, gdb, linkedin, linux, open source, planet ltc, python on Tuesday, March 31, 2009 | Leave a Comment »
It’s been a while since I last talked about Python scripting support in GDB. Mostly because I’ve been focusing on getting stuff from the branch merged into CVS HEAD, so that GDB 7.0 can have some useful Python bindings. The latest two patches committed upstream are for creating convenience functions in Python, and fo manipulating [...]
a useful python script for GDB: is the variable in scope?
Posted in english, tagged community, development, gdb, linkedin, linux, open source, planet ltc, python on Saturday, November 22, 2008 | Leave a Comment »
One annoying aspect of scripting GDB (using it’s own scripting language), is that if you test or set a variable which is not in scope, the script will generate an error and GDB will give up evaluating it. It would be useful to have a way to programatically check if the variable is in scope [...]
python scripting in gdb update
Posted in english, tagged community, development, gdb, linkedin, linux, open source, planet ltc, python on Thursday, October 16, 2008 | 5 Comments »
It’s been a great while since I last posted about Python scripting in GDB, mostly because I’ve been busy coding the feature and getting it ready for upstream. First of all, I’d like to take the opportunity to encourage people interested in using this feature to experiment with what we have implemented so far. The [...]
breaking code into reviewable patches
Posted in english, tagged development, gdb, git, hint, linkedin, linux, open source, planet ltc, python, scm, version control on Wednesday, April 30, 2008 | 3 Comments »
As I mentioned before, I’ve been working on and off on adding Python scripting support to GDB, with Tom Tromey and Vladimir Prus. We did the work in a git repository, separate from the GDB main repo (which still uses CVS, by the way). Now came the time to get the work we did there, [...]
gdb’s backtrace command implemented in python
Posted in english, tagged community, development, gdb, linkedin, linux, open source, planet ltc, python on Monday, March 24, 2008 | 1 Comment »
I’ve been working on Python bindings for exposing GDB’s frame_info, the internal structure it uses to keep track of the frame stack in the debuggee (or inferior, in GDB parlance). I got just enough working to be able to implement an equivalent of GDB’s backtrace command entirely in Python. The difference is that my version [...]