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]

Committed patch to config/arm/coff.h


The patch below fixes a problem with generating SDB debugging information on
ARM COFF targets.  It was reviewed by Jim Wilson.

Bernd

	* config/arm/coff.h (ASM_FILE_START): If generating SDB output, call
	output_file_directive.

--- coff.h	1999/07/22 02:22:57	1.33
+++ coff.h	1999/07/27 16:53:08
@@ -80,6 +80,8 @@ extern int arm_structure_size_boundary;
       fprintf (STREAM, "%s Generated by gcc %s for ARM/coff\n",	\
 	       ASM_COMMENT_START, version_string);		\
       fprintf (STREAM, ASM_APP_OFF);				\
+      if (write_symbols == SDB_DEBUG)				\
+	output_file_directive (STREAM, main_input_filename);	\
     }								\
   while (0)
 


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