aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base
diff options
context:
space:
mode:
authorPaul Pluzhnikov <ppluzhnikov@google.com>2008-09-05 17:39:00 +0000
committerPaul Pluzhnikov <ppluzhnikov@google.com>2008-09-05 17:39:00 +0000
commitcc69bfc1228f165886521e1c0ad8880e7a11e1af (patch)
tree7026d5da4e0481f91b5f97ad56f8333afabba6b3 /gdb/testsuite/gdb.base
parent87805e6373710b71e29a07f9e8a4c3a1e17068da (diff)
downloadgdb-cc69bfc1228f165886521e1c0ad8880e7a11e1af.zip
gdb-cc69bfc1228f165886521e1c0ad8880e7a11e1af.tar.gz
gdb-cc69bfc1228f165886521e1c0ad8880e7a11e1af.tar.bz2
compile with gcc -fno-inline, lest gcc-4.3.1 optimizes the whole thing away.
Diffstat (limited to 'gdb/testsuite/gdb.base')
-rw-r--r--gdb/testsuite/gdb.base/mips_pro.exp3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.base/mips_pro.exp b/gdb/testsuite/gdb.base/mips_pro.exp
index 4ad80de..3af2fea 100644
--- a/gdb/testsuite/gdb.base/mips_pro.exp
+++ b/gdb/testsuite/gdb.base/mips_pro.exp
@@ -35,7 +35,8 @@ if [get_compiler_info ${binfile}] {
# This test must be compiled with -O2 if using gcc.
if { [test_compiler_info gcc-*-*] } then {
- if { [gdb_compile "${srcdir}/$subdir/${srcfile}" "${binfile}" executable {debug additional_flags=-O2}] != "" } {
+ if { [gdb_compile "${srcdir}/$subdir/${srcfile}" "${binfile}" \
+ executable {debug additional_flags=-O2 additional_flags=-fno-inline}] != "" } {
untested mips_pro.exp
return -1
}