]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/testsuite/gdb.base/call-ar-st.exp
[gdb/testsuite] Handle unbuffer_output.c for remote host
[thirdparty/binutils-gdb.git] / gdb / testsuite / gdb.base / call-ar-st.exp
index 8abd3b40d91ccb2d89c9457701526b9e9026dc6a..0118ad7ffe8f9f513daf92c88a7d5e4ee1ba221a 100644 (file)
@@ -28,7 +28,11 @@ require {!target_info exists gdb,cannot_call_functions}
 
 set allow_float_test [allow_float_test]
 
-if {[prepare_for_testing "failed to prepare" $testfile $srcfile debug]} {
+set flags {}
+lappend flags debug
+lappend_include_file flags $srcdir/lib/unbuffer_output.c
+
+if {[prepare_for_testing "failed to prepare" $testfile $srcfile $flags]} {
     return -1
 }