pythonic backtrace with gdb
Dieter Maurer
dieter at handshake.de
Thu Jan 24 13:30:43 EST 2008
Hynek Hanke <hanke at brailcom.org> writes on Wed, 23 Jan 2008 14:30:22 +0100:
> ...
> I've also tried to use the backtrace script here
> http://mashebali.com/?Python_GDB_macros:The_Macros:Backtrace
> But I get a different error:
> (gdb) pbt
> Invalid type combination in ordering comparison.
>
> I'm using GDB version 6.6.90.
I expect that your GDB version is too new and has introduced
some safety checks (which now break).
It will probably help when you add explicite type casts to "long"
around the comparisons in the definition of "pbt".
Dieter
More information about the Python-list
mailing list