Re: [rfc] expose gdb values to python

Daniel Jacobowitz
2008-10-01T11:40:30Z

On Wed, Oct 01, 2008 at 12:18:29AM -0300, Thiago Jung Bauermann wrote:
> Daniel Jacobowitz wrote:
> > And I think it should have the same solution. There's a default
> > architecture for these cases (depending on how GDB was built).
>
> Which is current_gdbarch, as far as I can tell.

Right.

> I'll provide a new version of the patch which uses it when gdb.Value
> cannot get one from a nearby type's objfile.

How about we use it consistently, instead? I'd be very confused if
what other types in the expression changed which gdbarch to use...

--
Daniel Jacobowitz
CodeSourcery