This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [rfc] expose gdb values to python
Tom Tromey wrote:
>>>>>> "Thiago" == Thiago Jung Bauermann <bauerman@br.ibm.com> writes:
> There are some tradeoffs here. The "invisible access" approach is
> convenient. However, it runs into issues with odd programs -- say,
> multiple inheritance where a given name refers to multiple fields.
Adding a way to do casting in python solves this, right?
> I tend to like something toward the raw side, partly because any
> cooked approach will still need some second way to deal with the
> underlying explicit types.
Sorry, I didn't understand "deal with the underlying explicit types".
> I propose we decide these questions and implement this before checking
> in this patch. The semantics of Value are critical.
Right. I suggest people to take a look at the testcase to see what the
syntax looks like, and speak up if there are any concerns or preferences.
--
[]'s
Thiago Jung Bauermann
IBM Linux Technology Center