This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[PATCH 3/5] use standard_temp_file in another caching proc
- From: Tom Tromey <tromey at redhat dot com>
- To: gdb-patches at sourceware dot org
- Cc: Tom Tromey <tromey at redhat dot com>
- Date: Tue, 13 Aug 2013 15:03:21 -0600
- Subject: [PATCH 3/5] use standard_temp_file in another caching proc
- References: <1376427803-16608-1-git-send-email-tromey at redhat dot com>
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.
---
gdb/testsuite/lib/cell.exp | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
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>"
--
1.8.1.4