Re: [patch] static_kind -> bit0, bit1 [Re: [gdb] Fortran dynamic arrays]

Daniel Jacobowitz
2008-09-26T12:58:41Z

On Fri, Sep 19, 2008 at 03:12:21PM -0700, Joel Brobecker wrote:
> Next, we add a new field in the "loc" union that would contain a pointer
> to the dwarf block, and probably create some kind of routine to create
> these range types. After that, we can update the DWARF reader to handle
> DWARF blocks for range type bounds, and finally update Fortran to make
> use of them.
>
> What do others think?

Agreed. I would suggest LOC_COMPUTED as the role model, except I
don't see where to stash an ops pointer. Maybe in TYPE_SPECIFIC, or
is that ugly?

--
Daniel Jacobowitz
CodeSourcery