Thiago Jung Bauermann wrote: > Hi everybody, > > This patch series adds Python scripting support to GDB, and exposes > some of its subsystems hopefully in a "pythonic" way. These patches > correspond to the contents of the git repository at gitorious.org, > rebased to apply cleanly on top of CVS HEAD as of 04/27. The attached two patches are rebased MI ones. The first is cleanup, and I'll commit it shortly. The second one is the real one. Since both patches touch just MI code, this is RFC, not RFA. The second patch has a couple fixmes that I'll address later, and needs doc that I'll also write as the other Python patches are in. Here's an example session: (gdb) -var-set-type-visualizer std::vector.* VectorVisualizer ^done .... ~"11\t std::vector v;\n" .... ~"12\t v.push_back (7);\n" ^done (gdb) -var-create V * v ^done,name="V",numchild="1",value="{...}",type="std::vector >",thread-id="1" (gdb) -var-list-children V ^done,numchild="0" (gdb) next &"next\n" ~"13\t v[0] = 11;\n" ^done (gdb) -var-update --all-values V ^done,changelist=[{name="V",value="{...}",in_scope="true",type_changed="false",children=[{name="V.0",exp="0",numchild="0",value="7",type="int",thread-id="1"}]}] (gdb) The .gdbinit I use is also attached. - Volodya