4 Apr
2006
4 Apr
'06
11:19 a.m.
Dieter Maurer wrote:
Looks as if your Python were compiled without debugging symbols. You will get much better tracebacks (easier to understand), when you rebuild your Python with debugging symbols.
But of course, it's a production system :( - temporarily installing python-debuginfo ...
The following GDB macros can be used to help in the analysis. "pfr" can be called in frames "eval_frame" to learn about the Python frame.
def ps x/s ({PyStringObject}$arg0)->ob_sval end
Dieter, I don't know where you manage to find this stuff!! Have stuck it in my .gdbinit and am knocking myself out with it... Cheers, Alan