From 5598c03d21ba82334a4b28ac7e31ad844323df8f Mon Sep 17 00:00:00 2001 From: Daniel Jacobowitz Date: Sun, 8 Aug 2004 22:15:08 +0000 Subject: [PATCH] * gdb.arch/i386-prologue.exp: Compile without debug information. --- gdb/testsuite/ChangeLog | 4 ++++ gdb/testsuite/gdb.arch/i386-prologue.exp | 4 +++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 454e9d3b3c7..3cc7d2a4c56 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 4c5089848d6..4ec92399940 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." } -- 2.30.2