This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: dbxout.c overhaul, finally done


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)
 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]