This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Improve debug info for Ada (2/4)


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]