How to get convenience variables in python?

Tom Tromey tromey@redhat.com
Fri Jan 22 16:46:00 GMT 2010


>>>>> "S" == S Boucher <stbya@yahoo.com> writes:

S>   gdb.execute("set $argc = argc")
S>   argc = gdb.convenience("$argc")

With CVS gdb you can do

    argc = gdb.parse_and_eval ('argc')

Tom



More information about the Gdb mailing list