pythonic backtrace with gdb

Dieter Maurer dieter at
Thu Jan 24 19:30:43 CET 2008

Hynek Hanke <hanke at> writes on Wed, 23 Jan 2008 14:30:22 +0100:
> ...
> I've also tried to use the backtrace script here
> 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".


More information about the Python-list mailing list