This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Dwarf EH bug in dwarf2out.c
- To: hjl at lucon dot org (H.J. Lu)
- Subject: Re: Dwarf EH bug in dwarf2out.c
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Sat, 01 Nov 1997 00:38:45 -0700
- cc: egcs at cygnus dot com
- Reply-To: law at cygnus dot com
In message <m0xRVWI-0004ecC@ocean.lucon.org>you write:
> Hi,
>
> dwarf2out.c uses ASM_OUTPUT_ASCII to output "eh",
>
> .ascii "eh"
>
> in asm code, which is not '\0' terminated. But frame.c assumes it
> is and use strcmp/strlen on it. It doesn't work at all.
Just wonderful. The comment before ASM_OUTPUT_DWARF_STRING is wrong
(claims it is just ASM_OUTPUT_ASCII without the trailing newline).
No big deal. Easy to fix.
jeff