From mboxrd@z Thu Jan 1 00:00:00 1970 From: Robert Lipe To: "H.J. Lu" Cc: egcs@cygnus.com Subject: Re: Dwarf EH bug in dwarf2out.c Date: Sat, 01 Nov 1997 00:41:00 -0000 Message-id: <19971101024036.60211@dgii.com> References: X-SW-Source: 1997-11/msg00000.html > 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. Bummer. That sent my target down in flames, too. This patch seems to make it work better. *** dwarf2out.c_ Sat Nov 1 00:49:11 1997 --- dwarf2out.c Sat Nov 1 02:35:27 1997 *************** *** 1567,1573 **** } else { ! ASM_OUTPUT_ASCII (asm_out_file, "eh", 2); } fputc ('\n', asm_out_file); --- 1567,1573 ---- } else { ! ASM_OUTPUT_DWARF_STRING (asm_out_file, "eh"); } fputc ('\n', asm_out_file);