Re: [rfc] expose gdb values to python

Daniel Jacobowitz
2008-09-30T12:41:51Z

On Tue, Sep 30, 2008 at 01:06:02AM -0300, Thiago Jung Bauermann wrote:
> I did it this way having in mind the case when a value needs to be
> created at a moment when no file is loaded (and thus an
> architecture/target is not yet determined). This is the same problem
> faced by the expression evaluator, when the user types (say):
>
> (gdb) print 1.2

And I think it should have the same solution. There's a default
architecture for these cases (depending on how GDB was built). If, in
the future, we find another way to handle the print command... then we
can find another way to handle this, too. I suggest that rather than
bending over backwards to avoid the gdbarch.

--
Daniel Jacobowitz
CodeSourcery