Message103658
test_gdb pass with add-conditions-for-gdb.Frame.select-to-trunk-003.patch.
In a new patch, or maybe a last version of the add-.... patch, could you move all "main" code at the end? I found these instructions:
----
# register Python pretty printer
register (gdb.current_objfile())
# register commands
PyList()
if hasattr(gdb.Frame, 'select'):
# Not all builds of gdb have gdb.Frame.select
PyUp()
PyDown()
PyBacktrace()
PyPrint()
PyLocals()
----
Could you also document how libpython.py is loaded automatically, and can I load it manually?
Anyway, thanks for libpython: it really rocks! I often use gdb with Misc/gdbinit, but pystack does not always work, and pyo crashs if Python is not yet initialized. It will be easier to improve the gdb scripting if it's written in Python! |
|
Date |
User |
Action |
Args |
2010-04-19 23:13:10 | vstinner | set | recipients:
+ vstinner, loewis, ncoghlan, dmalcolm |
2010-04-19 23:13:10 | vstinner | set | messageid: <1271718790.4.0.0925740821903.issue8437@psf.upfronthosting.co.za> |
2010-04-19 23:13:08 | vstinner | link | issue8437 messages |
2010-04-19 23:13:08 | vstinner | create | |
|