Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [RFA] dw2-ranges.exp: Build dw2-ranges3.S with -gdwarf-2 (not -gstabs)
@ 2011-02-17  5:34 Joel Brobecker
  2011-02-17  6:44 ` Jan Kratochvil
  0 siblings, 1 reply; 5+ messages in thread
From: Joel Brobecker @ 2011-02-17  5:34 UTC (permalink / raw)
  To: gdb-patches; +Cc: Jan Kratochvil, Joel Brobecker

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


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2011-02-25  8:29 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-02-17  5:34 [RFA] dw2-ranges.exp: Build dw2-ranges3.S with -gdwarf-2 (not -gstabs) Joel Brobecker
2011-02-17  6:44 ` Jan Kratochvil
2011-02-17  8:13   ` Joel Brobecker
2011-02-17 22:23     ` Jan Kratochvil
2011-02-25  8:36       ` Jan Kratochvil

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox