diff options
author | Elena Zannoni <ezannoni@kwikemart.cygnus.com> | 2003-08-07 17:55:41 +0000 |
---|---|---|
committer | Elena Zannoni <ezannoni@kwikemart.cygnus.com> | 2003-08-07 17:55:41 +0000 |
commit | e0f353ceed204d98f0581a17e84d33dd18c65ec5 (patch) | |
tree | 9c094245f62150a65134834582d9cc96dbdfb33c /gdb/testsuite/gdb.base/gcore.exp | |
parent | 5710a1afa99d21787b0eea1a876115767684329d (diff) | |
download | gdb-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.base/gcore.exp')
-rw-r--r-- | gdb/testsuite/gdb.base/gcore.exp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.base/gcore.exp b/gdb/testsuite/gdb.base/gcore.exp index f8d5baa..8c0ae8e 100644 --- a/gdb/testsuite/gdb.base/gcore.exp +++ b/gdb/testsuite/gdb.base/gcore.exp @@ -104,8 +104,10 @@ set pre_corefile_local_array \ set pre_corefile_extern_array \ [capture_command_output "print extern_array" "$print_prefix"] +set escapedfilename [string_to_regexp ${objdir}/${subdir}/gcore.test] + 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. |