This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [rfa] expose gdb values to python, mark II
On Thu, Oct 16, 2008 at 01:13:34AM -0300, Thiago Jung Bauermann wrote:
> > This only works for scalars (now including pointers), right? Do you
> > have to call overloaded operators explicitly?
>
> Only scalars, yes. I didn't think about overloaded operators, but for
> now yes, that's what you have to do. If GDB's expression evaluator
> already has support for overloaded operators, I guess we could use that
> to support this case...
It does; this is the same question of what the expression evaluator
should do versus what value objects should do that we had earlier.
I think we'll have to come back to it later.
> Great! Committed the following.
Hooray! Thanks again for the work you're doing on this merge.
--
Daniel Jacobowitz
CodeSourcery