summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Kratochvil <jan.kratochvil@redhat.com>2008-04-15 09:00:32 +0000
committerJan Kratochvil <jan.kratochvil@redhat.com>2008-04-15 09:00:32 +0000
commit978fab43a20627993b5a182ee0a4ec69a6c0ccee (patch)
treee9b1164447d85200442c952e647f3f12d43b9ede
parent3bb224d931bdc8fdf0285988dd7e9ccd388e3a11 (diff)
downloadgdb-978fab43a20627993b5a182ee0a4ec69a6c0ccee.tar.gz
* gdb.dwarf2/dw2-ranges.S: New stub `.file' directive.
-rw-r--r--gdb/testsuite/ChangeLog4
-rw-r--r--gdb/testsuite/gdb.dwarf2/dw2-ranges.S3
2 files changed, 7 insertions, 0 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 61a75f0f0c4..ef93c0304c1 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -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
diff --git a/gdb/testsuite/gdb.dwarf2/dw2-ranges.S b/gdb/testsuite/gdb.dwarf2/dw2-ranges.S
index 5fafa7aa7db..1334c0cdd6b 100644
--- a/gdb/testsuite/gdb.dwarf2/dw2-ranges.S
+++ b/gdb/testsuite/gdb.dwarf2/dw2-ranges.S
@@ -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. */