From: Daniel Jacobowitz Date: Sun, 8 Aug 2004 22:15:08 +0000 (+0000) Subject: * gdb.arch/i386-prologue.exp: Compile without debug information. X-Git-Tag: csl-arm-2004-q3~574 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5598c03d21ba82334a4b28ac7e31ad844323df8f;p=platform%2Fupstream%2Fbinutils.git * gdb.arch/i386-prologue.exp: Compile without debug information. --- diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 454e9d3..3cc7d2a 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2004-08-08 Daniel Jacobowitz + + * gdb.arch/i386-prologue.exp: Compile without debug information. + 2004-08-08 Michael Chastain * lib/gdb.exp (gdb_get_line_number): Rewrite with native tcl 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." }