* gdb.arch/i386-prologue.exp: Compile without debug information.
authorDaniel Jacobowitz <drow@false.org>
Sun, 8 Aug 2004 22:15:08 +0000 (22:15 +0000)
committerDaniel Jacobowitz <drow@false.org>
Sun, 8 Aug 2004 22:15:08 +0000 (22:15 +0000)
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.arch/i386-prologue.exp

index 454e9d3..3cc7d2a 100644 (file)
@@ -1,3 +1,7 @@
+2004-08-08  Daniel Jacobowitz  <dan@debian.org>
+
+       * gdb.arch/i386-prologue.exp: Compile without debug information.
+
 2004-08-08  Michael Chastain  <mec.gnu@mindspring.com>
 
        * lib/gdb.exp (gdb_get_line_number): Rewrite with native tcl
index 4c50898..4ec9239 100644 (file)
@@ -44,7 +44,9 @@ if [istarget "i?86-*-cygwin*"] then {
   set additional_flags "additional_flags=-DSYMBOL_PREFIX=\"_\""
 }   
 
-if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable [list debug $additional_flags]] != "" } {
+# Don't use "debug", so that we don't have line information for the assembly
+# fragments.
+if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable [list $additional_flags]] != "" } {
     gdb_suppress_entire_file "Testcase compile failed, so all tests in this file will automatically fail."
 }