aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.arch
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2004-08-08 22:15:08 +0000
committerDaniel Jacobowitz <drow@false.org>2004-08-08 22:15:08 +0000
commit5598c03d21ba82334a4b28ac7e31ad844323df8f (patch)
tree61bf309a921ed8bb2cfac7cbb7ec7357df11c47e /gdb/testsuite/gdb.arch
parent2f9b146ed8a3ef45b58c7ed80ecfc81671a15e27 (diff)
downloadgdb-5598c03d21ba82334a4b28ac7e31ad844323df8f.zip
gdb-5598c03d21ba82334a4b28ac7e31ad844323df8f.tar.gz
gdb-5598c03d21ba82334a4b28ac7e31ad844323df8f.tar.bz2
* gdb.arch/i386-prologue.exp: Compile without debug information.
Diffstat (limited to 'gdb/testsuite/gdb.arch')
-rw-r--r--gdb/testsuite/gdb.arch/i386-prologue.exp4
1 files changed, 3 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.arch/i386-prologue.exp b/gdb/testsuite/gdb.arch/i386-prologue.exp
index 4c50898..4ec9239 100644
--- a/gdb/testsuite/gdb.arch/i386-prologue.exp
+++ b/gdb/testsuite/gdb.arch/i386-prologue.exp
@@ -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."
}