This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: RFA: dwarfout.c - emit DW_AT_LOCATION for global register variables
- From: Daniel Jacobowitz <drow at mvista dot com>
- To: Kevin Buettner <kevinb at redhat dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Fri, 28 Feb 2003 10:03:07 -0500
- Subject: Re: RFA: dwarfout.c - emit DW_AT_LOCATION for global register variables
- References: <1030228060221.ZM27945@localhost.localdomain>
On Thu, Feb 27, 2003 at 11:02:21PM -0700, Kevin Buettner wrote:
> I recently learned of a dwarf2 related bug in which insufficient
> debugging information is being generated for global declarations such
> as the following:
>
> register void *current asm("$23");
FYI, this is PR debug/9499.
> * dwarf2out.c (rtl_for_decl_location): Don't return NULL_RTX for
> global register variables.
Thank you for fixing this!
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer