This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[RFA] dw2-ranges.exp: Build dw2-ranges3.S with -gdwarf-2 (not -gstabs)
- From: Joel Brobecker <brobecker at adacore dot com>
- To: gdb-patches at sourceware dot org
- Cc: Jan Kratochvil <jan dot kratochvil at redhat dot com>, Joel Brobecker <brobecker at adacore dot com>
- Date: Thu, 17 Feb 2011 09:33:23 +0400
- Subject: [RFA] dw2-ranges.exp: Build dw2-ranges3.S with -gdwarf-2 (not -gstabs)
Jan,
Do you think this might have been a typo? It seemed odd to me to be
building one file with STABS in the middle of building with DWARF...
gdb/testsuite/ChangeLog:
* gdb.dwarf2/dw2-ranges.exp: Build dw2-ranges3.S with -gdwarf-2.
Tested on x86_64-linux.
---
gdb/testsuite/gdb.dwarf2/dw2-ranges.exp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/gdb/testsuite/gdb.dwarf2/dw2-ranges.exp b/gdb/testsuite/gdb.dwarf2/dw2-ranges.exp
index 4fa3d02..d8dbb5f 100644
--- a/gdb/testsuite/gdb.dwarf2/dw2-ranges.exp
+++ b/gdb/testsuite/gdb.dwarf2/dw2-ranges.exp
@@ -38,7 +38,7 @@ if {[gdb_compile "${srcdir}/${subdir}/${srcfile}" "${objfile}" object {additiona
if {[gdb_compile "${srcdir}/${subdir}/${srcfile2}" "${objfile2}" object {additional_flags=-gdwarf-2}] != "" } {
return -1
}
-if {[gdb_compile "${srcdir}/${subdir}/${srcfile3}" "${objfile3}" object {additional_flags=-gstabs}] != "" } {
+if {[gdb_compile "${srcdir}/${subdir}/${srcfile3}" "${objfile3}" object {additional_flags=-gdwarf-2}] != "" } {
return -1
}
if {[gdb_compile "${objfile} ${objfile2} ${objfile3}" "${binfile}" executable {}] != "" } {
--
1.7.1