aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.opt/inline-bt.exp
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2010-07-27 18:08:48 +0000
committerTom Tromey <tromey@redhat.com>2010-07-27 18:08:48 +0000
commit5283e9e1e3ce1862befdd428729c2382fa4c2d91 (patch)
treee28247d85c8f1a459d96fd9d347581df38924531 /gdb/testsuite/gdb.opt/inline-bt.exp
parente992ef7345b6ff291c424cac2a056ba09102e64a (diff)
downloadgdb-5283e9e1e3ce1862befdd428729c2382fa4c2d91.zip
gdb-5283e9e1e3ce1862befdd428729c2382fa4c2d91.tar.gz
gdb-5283e9e1e3ce1862befdd428729c2382fa4c2d91.tar.bz2
* gdb.opt/inline-cmds.c (ATTR): New define.
(func1): Use it. (func2): Likewise. (func3): Likewise. (outer_inline1): Likewise. (outer_inline2): Likewise. * gdb.opt/inline-bt.c (ATTR): New define. (func1): Use it. (func2): Likewise. * gdb.opt/inline-locals.c (ATTR): New define. (func1): Use it. (func2): Likewise.
Diffstat (limited to 'gdb/testsuite/gdb.opt/inline-bt.exp')
-rw-r--r--gdb/testsuite/gdb.opt/inline-bt.exp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.opt/inline-bt.exp b/gdb/testsuite/gdb.opt/inline-bt.exp
index 92f1f8a..a3e1898 100644
--- a/gdb/testsuite/gdb.opt/inline-bt.exp
+++ b/gdb/testsuite/gdb.opt/inline-bt.exp
@@ -22,7 +22,7 @@ set sources [list ${fullsrcfile} ${fullsrcfile2}]
set binfile ${objdir}/${subdir}/${testfile}
if { [gdb_compile ${sources} ${binfile} \
- executable {debug optimize=-O2}] != "" } {
+ executable {debug optimize=-O2 additional_flags=-Winline}] != "" } {
untested inline-bt.exp
return -1
}