Closed spectrec closed 7 years ago
Yes, it's even in TODO.
gdb convenience variables are not true symbols, so one would need to use gdb.parse_and_eval()
to get them. But Ident
class already does, so I suspect the fix would simply be to extend the syntax to allow identifiers to start with a dollar sign.
Note that it won't let gdb convenience functions (like $_streq
) to work, the error is
Python Exception <type 'exceptions.RuntimeError'> Value is not callable (not TYPE_CODE_FUNC).:
the type is "internal function" and it's not callable. I consider it a bug in gdb, pretty much like "object method" values are not callable either.
is it possible to fix this?)