repo to work on python scripting support

Jim Blandy jimb@red-bean.com
Thu Mar 27 06:41:00 GMT 2008


Python decorators seem to be in the latest python, at least:
http://docs.python.org/ref/function.html

The discussion Tom linked to was back in 2004.

Decorators would be perfect for this, I think:

@Gdb.interactive (Gdb.Expr, Gdb.Expr)
def strcmp (str1, str2):
    // compare strings

Easy squeezy.



More information about the Gdb mailing list