aboutsummaryrefslogtreecommitdiff
path: root/libctf
diff options
context:
space:
mode:
authorTom de Vries <tdevries@suse.de>2020-03-06 18:03:01 +0100
committerTom de Vries <tdevries@suse.de>2020-03-06 18:03:01 +0100
commit436b5e99c8eef55433f2c1de35d8f960425aa4c1 (patch)
treedaa48dfa8928d6d145a188d50a5a6881d8fccb39 /libctf
parent31bf18645d98b4d3d7357353be840e320649a67d (diff)
downloadgdb-436b5e99c8eef55433f2c1de35d8f960425aa4c1.zip
gdb-436b5e99c8eef55433f2c1de35d8f960425aa4c1.tar.gz
gdb-436b5e99c8eef55433f2c1de35d8f960425aa4c1.tar.bz2
[gdb/testsuite] Fix "text file busy" errors with cc-with-tweaks.exp
When using target board cc-with-gdb-index.exp and running tests in parallel, we run into: ... gdb compile failed, gdb/contrib/gdb-add-index.sh: line 86: \ build/gdb/testsuite/gdb.sh: Text file busy ... The problem is that because of the parallel test run, gdb.sh is created for every single test-case, and eventually gdb.sh is overwritten while being executed. Fix this by creating gdb.sh only once. Tested on x86_64-linux with target board cc-with-gdb-index.exp, using both a serial and parallel -j 5 test run. gdb/testsuite/ChangeLog: 2020-03-06 Tom de Vries <tdevries@suse.de> * lib/gdb.exp (tentative_rename, cached_file): New proc. * boards/cc-with-tweaks.exp: Use cached_file to create gdb.sh.
Diffstat (limited to 'libctf')
0 files changed, 0 insertions, 0 deletions