aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2013-08-22 13:46:21 +0000
committerTom Tromey <tromey@redhat.com>2013-08-22 13:46:21 +0000
commit16cfcbc2025e1daee61dbc3755dd143f00de0a0a (patch)
treed8be1358b0c3c59e1e54773000736224783e9cc5 /gdb
parent44ee81740e186301bc8442096db49bd77117b7a5 (diff)
downloadfsf-binutils-gdb-16cfcbc2025e1daee61dbc3755dd143f00de0a0a.zip
fsf-binutils-gdb-16cfcbc2025e1daee61dbc3755dd143f00de0a0a.tar.gz
fsf-binutils-gdb-16cfcbc2025e1daee61dbc3755dd143f00de0a0a.tar.bz2
use standard_temp_file in another caching proc
In an earlier patch I forgot to change the caching proc in cell.exp to use standard_temp_file. This fixes the oversight. Tested on x86-64 Fedora 18. * lib/cell.exp (skip_cell_tests): Use standard_temp_file.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/testsuite/ChangeLog4
-rw-r--r--gdb/testsuite/lib/cell.exp8
2 files changed, 8 insertions, 4 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index c826d4e..b53ec2d 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,5 +1,9 @@
2013-08-22 Tom Tromey <tromey@redhat.com>
+ * lib/cell.exp (skip_cell_tests): Use standard_temp_file.
+
+2013-08-22 Tom Tromey <tromey@redhat.com>
+
* gdb.dwarf2/dw2-basic.exp: Use gdb_remote_download.
* gdb.dwarf2/dw2-compressed.exp: Use gdb_remote_download.
* gdb.dwarf2/dw2-intercu.exp: Use gdb_remote_download.
diff --git a/gdb/testsuite/lib/cell.exp b/gdb/testsuite/lib/cell.exp
index 9a20f5c..448bd0a 100644
--- a/gdb/testsuite/lib/cell.exp
+++ b/gdb/testsuite/lib/cell.exp
@@ -78,10 +78,10 @@ gdb_caching_proc skip_cell_tests {
# Set up, compile, and execute a combined Cell/B.E. test program.
# Include the current process ID in the file names to prevent conflicts
# with invocations for multiple testsuites.
- set src cell[pid].c
- set exe cell[pid].x
- set src_spu cell[pid]-spu.c
- set exe_spu cell[pid]-spu.x
+ set src [standard_temp_file cell[pid].c]
+ set exe [standard_temp_file cell[pid].x]
+ set src_spu [standard_temp_file cell[pid]-spu.c]
+ set exe_spu [standard_temp_file cell[pid]-spu.x]
set f [open $src "w"]
puts $f "#include <libspe2.h>"