This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: dbxout.c overhaul, finally done
- From: Zack Weinberg <zack at codesourcery dot com>
- To: Kazuhiro Inaoka <inaoka dot kazuhiro at renesas dot com>
- Cc: gcc-patches at gcc dot gnu dot org, Nick Clifton <nickc at redhat dot com>
- Date: Tue, 26 Oct 2004 21:00:04 -0700
- Subject: Re: dbxout.c overhaul, finally done
- References: <87mzy954pm.fsf@codesourcery.com> <417F1B2B.5050603@renesas.com>
Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com> writes:
> Hi Zack
>
> I'm getting a failure when I build m32r-elf-gcc with your patch.
> Would you give me advice?
>
> ng.log is a failure log.
> _mudi3.s is an assembly source output before a failure.
>
> It seems not to count up the counter at calling
> DBX_OUTPUT_SOURCE_LINE().
Please try the appended patch. (The macro is expected to increment
the counter now.)
zw
* config/m32r/m32r.h (DBX_OUTPUT_SOURCE_LINE): Increment counter.
===================================================================
Index: config/m32r/m32r.h
--- config/m32r/m32r.h 27 Oct 2004 01:29:41 -0000 1.120
+++ config/m32r/m32r.h 27 Oct 2004 03:59:47 -0000
@@ -1534,6 +1534,7 @@ L2: .word STATIC
fputs ("\n\t.debugsym ", file); \
assemble_name (file, label); \
putc ('\n', file); \
+ counter += 1; \
} \
while (0)