Recognise .sx as an assembler file

Maciej W. Rozycki macro@mips.com
Mon Dec 10 15:32:00 GMT 2007


Hello,

 Following a recent change to GCC this adds .sx to the list of recognised 
suffixes.

 Tested using the mipsisa32-sde-elf target, with the mips-sim-sde32/-EB 
and mips-sim-sde32/-EL boards with no regressions.

2007-12-10  Chris Dearman  <chris@mips.com>

	* symfile.c (init_filename_language_table): Recognise .sx as
	an assembler file.

 OK to apply?

  Maciej

12271-5.diff
Index: binutils-quilt/src/gdb/symfile.c
===================================================================
--- binutils-quilt.orig/src/gdb/symfile.c	2007-05-22 18:37:38.000000000 +0100
+++ binutils-quilt/src/gdb/symfile.c	2007-05-22 18:49:49.000000000 +0100
@@ -2492,6 +2492,7 @@
       add_filename_language (".f", language_fortran);
       add_filename_language (".F", language_fortran);
       add_filename_language (".s", language_asm);
+      add_filename_language (".sx", language_asm);
       add_filename_language (".S", language_asm);
       add_filename_language (".pas", language_pascal);
       add_filename_language (".p", language_pascal);



More information about the Gdb-patches mailing list