From e0f353ceed204d98f0581a17e84d33dd18c65ec5 Mon Sep 17 00:00:00 2001 From: Elena Zannoni Date: Thu, 7 Aug 2003 17:55:41 +0000 Subject: 2003-08-07 Elena Zannoni * 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. --- gdb/testsuite/gdb.threads/gcore-thread.exp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'gdb/testsuite/gdb.threads') diff --git a/gdb/testsuite/gdb.threads/gcore-thread.exp b/gdb/testsuite/gdb.threads/gcore-thread.exp index 8184fa5..5cb80bd 100644 --- a/gdb/testsuite/gdb.threads/gcore-thread.exp +++ b/gdb/testsuite/gdb.threads/gcore-thread.exp @@ -103,9 +103,10 @@ delete_breakpoints gdb_breakpoint "thread2" gdb_test "continue" "Continuing.*Breakpoint.* thread2 .*" "thread 2 is running" +set escapedfilename [string_to_regexp ${objdir}/${subdir}/gcore.test] # Drop corefile gdb_test "gcore ${objdir}/${subdir}/gcore.test" \ - "Saved corefile ${objdir}/${subdir}/gcore.test" \ + "Saved corefile ${escapedfilename}" \ "save a corefile" # Now restart gdb and load the corefile. -- cgit v1.1