* Recognise .sx as an assembler file
@ 2007-12-10 15:32 Maciej W. Rozycki
2007-12-10 15:52 ` Daniel Jacobowitz
0 siblings, 1 reply; 2+ messages in thread
From: Maciej W. Rozycki @ 2007-12-10 15:32 UTC (permalink / raw)
To: gdb-patches; +Cc: Chris Dearman, Maciej W. Rozycki
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);
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Recognise .sx as an assembler file
2007-12-10 15:32 Recognise .sx as an assembler file Maciej W. Rozycki
@ 2007-12-10 15:52 ` Daniel Jacobowitz
0 siblings, 0 replies; 2+ messages in thread
From: Daniel Jacobowitz @ 2007-12-10 15:52 UTC (permalink / raw)
To: Maciej W. Rozycki; +Cc: gdb-patches, Chris Dearman, Maciej W. Rozycki
On Mon, Dec 10, 2007 at 03:18:43PM +0000, Maciej W. Rozycki wrote:
> 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?
OK, I suppose. At least half the uses of this table are silly; we
don't need to guess the languages of subfiles, because they should
always have the same language as the containing CU.
--
Daniel Jacobowitz
CodeSourcery
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-12-10 15:34 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-12-10 15:32 Recognise .sx as an assembler file Maciej W. Rozycki
2007-12-10 15:52 ` Daniel Jacobowitz
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox