aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.trace
diff options
context:
space:
mode:
authorElena Zannoni <ezannoni@kwikemart.cygnus.com>2003-08-07 17:55:41 +0000
committerElena Zannoni <ezannoni@kwikemart.cygnus.com>2003-08-07 17:55:41 +0000
commite0f353ceed204d98f0581a17e84d33dd18c65ec5 (patch)
tree9c094245f62150a65134834582d9cc96dbdfb33c /gdb/testsuite/gdb.trace
parent5710a1afa99d21787b0eea1a876115767684329d (diff)
downloadgdb-e0f353ceed204d98f0581a17e84d33dd18c65ec5.zip
gdb-e0f353ceed204d98f0581a17e84d33dd18c65ec5.tar.gz
gdb-e0f353ceed204d98f0581a17e84d33dd18c65ec5.tar.bz2
2003-08-07 Elena Zannoni <ezannoni@redhat.com>
* gdb.base/attach.exp, gdb.base/detach.exp, gdb.base/gcore.exp, gdb.mi/mi-basics.exp, gdb.threads/gcore-thread.exp, gdb.trace/save-trace.exp: Make sure that full pathnames are escaped correctly.
Diffstat (limited to 'gdb/testsuite/gdb.trace')
-rw-r--r--gdb/testsuite/gdb.trace/save-trace.exp3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.trace/save-trace.exp b/gdb/testsuite/gdb.trace/save-trace.exp
index b461ad8..a5b7cf0 100644
--- a/gdb/testsuite/gdb.trace/save-trace.exp
+++ b/gdb/testsuite/gdb.trace/save-trace.exp
@@ -145,9 +145,10 @@ remote_file host delete savetrace.tr
# 10.3 repeat with a path to the file
+set escapedfilename [string_to_regexp $objdir/savetrace.tr]
remote_file host delete $objdir/savetrace.tr
gdb_test "save-tracepoints $objdir/savetrace.tr" \
- "Tracepoints saved to file '$objdir/savetrace.tr'." \
+ "Tracepoints saved to file '${escapedfilename}'." \
"10.3: save tracepoint definitions, full path"
gdb_delete_tracepoints