Re: [rfc] expose gdb values to python

Daniel Jacobowitz
2008-10-06T21:15:03Z

On Sat, Oct 04, 2008 at 05:58:16PM -0600, Tom Tromey wrote:
> I guess I wouldn't mind a mangling scheme if it were unobtrusive enough.

I had in mind something like this:

itype = val.gdb_type() # Invoke method
field = val.type # Fetch member value

That saves on quoting, but will make other code more verbose. You're
probably right that it's not worthwhile.

--
Daniel Jacobowitz
CodeSourcery