This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Improve debug info for Ada (2/4)
- From: Eric Botcazou <ebotcazou at adacore dot com>
- To: Geoffrey Keating <geoffk at apple dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Fri, 8 Jun 2007 08:05:11 +0200
- Subject: Re: [PATCH] Improve debug info for Ada (2/4)
- References: <DD265A85-CE92-4D78-82DB-E4845816E7F5@apple.com>
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