[PATCH] Improve debug info for Ada (2/4)
Eric Botcazou
ebotcazou@adacore.com
Fri Jun 8 06:15:00 GMT 2007
Hi Geoff,
> Your patch
> [...]
> breaks bootstrap on i386-darwin9, because the Darwin backend is not
> expecting the debug information type to suddenly change from DWARF to
> nothing in the middle of a compilation. See the definition of
> DBX_REGISTER_NUMBER in darwin.h.
Could you clarify the failure mode?
> All the other implementation of DECL_IGNORED_P is done by the
> debugging output backends and it's done differently for each
> backend. In particular the DWARF output code doesn't actually
> suppress any debug information, it just marks it as
> DW_AT_artificial. We had extensive discussion about this on the list
> and agreed this was the right thing to do.
Yes, that's why I wanted to expand the semantics, in order to avoid emitting
useless debug info for whole functions.
> So, I propose reverting this patch. What do you think?
Can we get away with defining DWARF_FRAME_REGNUM for x86/Darwin?
--
Eric Botcazou
More information about the Gcc-patches
mailing list