* 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 454e9d3b3c7eaeca4b21f0148ef8a1ed5e35a37a..3cc7d2a4c568ed2bed8947cf95d5b03faca8274e 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 4c5089848d6a911d204c999945c9f70209592fca..4ec923999402bac7c923f63597851c51fd4fa040 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."
 }