add standard_temp_file
authorTom Tromey <tromey@redhat.com>
Tue, 13 Aug 2013 15:52:24 +0000 (15:52 +0000)
committerTom Tromey <tromey@redhat.com>
Tue, 13 Aug 2013 15:52:24 +0000 (15:52 +0000)
commit4e2348988f2e09ced290e012981de941c96bc70c
tree3c7f0b0ee7e91677fc5dfb1ff91df9da2c58ec50
parent53e981d986a7eb149de1de6491381a1cb049757c
add standard_temp_file

This adds a new helper proc, standard_temp_file.  This proc takes a
file name and returns a possibly-qualified form.  This lets us make
parallel runs use a directory other than ".", which helps the inotify
mode.

This initial patch introduces the proc and changes a few spots to use
it.

* lib/gdb.exp (standard_temp_file): New proc.
(support_complex_tests, is_ilp32_target, is_lp64_target)
(is_amd64_regs_target, skip_altivec_tests, skip_vsx_tests): Use
standard_temp_file.
gdb/testsuite/ChangeLog
gdb/testsuite/lib/gdb.exp