* gdb.dwarf2/dw2-ranges.S: New stub `.file' directive.
authorJan Kratochvil <jan.kratochvil@redhat.com>
Tue, 15 Apr 2008 09:00:32 +0000 (09:00 +0000)
committerJan Kratochvil <jan.kratochvil@redhat.com>
Tue, 15 Apr 2008 09:00:32 +0000 (09:00 +0000)
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.dwarf2/dw2-ranges.S

index 61a75f0..ef93c03 100644 (file)
@@ -1,3 +1,7 @@
+2008-04-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * gdb.dwarf2/dw2-ranges.S: New stub `.file' directive.
+
 2008-04-13  Vladimir Prus  <vladimir@codesourcery.com>
 
        * gdb.mi/mi-var-cmd.exp: Adjust for appearance of type_changed
index 5fafa7a..1334c0c 100644 (file)
@@ -19,6 +19,9 @@
    DW_AT_ranges as the linker could place both sections at arbitrary locations.
    */
 
+       /* Such directive is required by GAS for builds without `-g'.  */
+       .file   1 "dw2-ranges.S"
+
        /* Without this directive GAS will not emit DWARF2 unless we provide an
           instruction to assemble.  We want to avoid any instructions to
           remain architecture independent.  */