gdb/testsuite: avoid creating temp file in gdb/testsuite/ directory
authorAndrew Burgess <aburgess@redhat.com>
Tue, 13 Dec 2022 15:37:17 +0000 (15:37 +0000)
committerAndrew Burgess <aburgess@redhat.com>
Tue, 13 Dec 2022 15:37:17 +0000 (15:37 +0000)
commitdc3fb44540b586c02ec2f841e106a8d2cc2a422d
treefbe91aff2cdc949788019846b162428ab347fa06
parentfa59ab98685e4b5431d2be423f449df5069a454e
gdb/testsuite: avoid creating temp file in gdb/testsuite/ directory

After this commit:

  commit 33c1395cf5e9deec7733691ba32c450e5c27f757
  Date:   Fri Nov 11 15:26:46 2022 +0000

      gdb/testsuite: fix gdb.trace/unavailable-dwarf-piece.exp with Clang

The gdb.trace/unavailable-dwarf-piece.exp test script was creating a
temporary file in the build/gdb/testsuite/ directory, instead of in
the expected place in the outputs directory.

Fix this by adding a call to standard_output_file.
gdb/testsuite/gdb.trace/unavailable-dwarf-piece.exp