This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Recognise .sx as an assembler file
- From: "Maciej W. Rozycki" <macro at mips dot com>
- To: gdb-patches at sourceware dot org
- Cc: Chris Dearman <chris at mips dot com>, "Maciej W. Rozycki" <macro at linux-mips dot org>
- Date: Mon, 10 Dec 2007 15:18:43 +0000 (GMT)
- Subject: Recognise .sx as an assembler file
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);