diff options
Diffstat (limited to 'gdb/testsuite/gdb.base/shlib-call.exp')
-rw-r--r-- | gdb/testsuite/gdb.base/shlib-call.exp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.base/shlib-call.exp b/gdb/testsuite/gdb.base/shlib-call.exp index 88c4353..2ec81d5 100644 --- a/gdb/testsuite/gdb.base/shlib-call.exp +++ b/gdb/testsuite/gdb.base/shlib-call.exp @@ -43,7 +43,12 @@ set lib1 [standard_output_file shr1.sl] set lib2 [standard_output_file shr2.sl] set lib_opts "debug" -set exec_opts [list debug shlib=${lib1} shlib=${lib2}] + +set exec_opts {} +lappend exec_opts debug +lappend exec_opts shlib=$lib1 +lappend exec_opts shlib=$lib2 +lappend_include_file exec_opts $srcdir/lib/unbuffer_output.c if { [gdb_compile_shlib ${lib1src} ${lib1} $lib_opts] != "" || [gdb_compile_shlib ${lib2src} ${lib2} $lib_opts] != "" |