This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Avoid explicit use of machine modes (7/n) [NOT APPLIED YET]
On Mon, Sep 29, 2003 at 11:27:02PM -0400, David Edelsohn wrote:
> >>>>> Zack Weinberg writes:
>
> > dbxout.c uses machine mode numbers to decide which R-numbers to attach
> > to complex types. gdb does not use this information in detail; it
> > looks to see whether the R-number indicates some kind of complex type,
> > and then it gets the rest of what it needs from the size. Comments in
> > dbxout.c and include/aout/stabs_gnu.h suggest that gdb is the only
> > debugger we care about for complex types. Furthermore, stabs is
> > obsolescent. Therefore I propose to rip out all of the code for this
> > and just generate R3 (NF_COMPLEX) always. Thoughts?
>
> Stabs may be obsolescent, but it still is used by some targets,
> such as AIX and Darwin.
Well, Zack's right, GDB won't care. Other debuggers might but I doubt
this is a big deal. If it's just as easy, you could do it by mode
sizes, though.
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer