]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/testsuite/lib/gdb.exp
[gdb/testsuite] Fix stray file in get_compiler_info
[thirdparty/binutils-gdb.git] / gdb / testsuite / lib / gdb.exp
index d092258a9e5026173c57bde688f58a6446a65b79..fe3f05c18df943c66f848d45c42d0d798d655232 100644 (file)
@@ -4882,7 +4882,7 @@ proc get_compiler_info {{language "c"}} {
     if [is_remote host] {
        # We have to use -E and -o together, despite the comments
        # above, because of how DejaGnu handles remote host testing.
-       set ppout "$outdir/compiler.i"
+       set ppout [standard_temp_file compiler.i]
        gdb_compile "${ifile}" "$ppout" preprocess [list "$language" quiet getting_compiler_info]
        set file [open $ppout r]
        set cppout [read $file]