aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/solib-vanish.exp
diff options
context:
space:
mode:
authorSandra Loosemore <sandra@codesourcery.com>2018-10-11 16:51:26 -0700
committerSandra Loosemore <sandra@codesourcery.com>2018-10-11 16:51:26 -0700
commitd4330bde6891c74498cea8866ce9992181798861 (patch)
tree253d51192b5cb903ccf0970fad58a228f60edd4c /gdb/testsuite/gdb.base/solib-vanish.exp
parentde564eb5cc8c67fc38f9910937935eef5ebc17d8 (diff)
downloadgdb-d4330bde6891c74498cea8866ce9992181798861.zip
gdb-d4330bde6891c74498cea8866ce9992181798861.tar.gz
gdb-d4330bde6891c74498cea8866ce9992181798861.tar.bz2
Fix pathname regexp in gdb.base/solib-vanish.exp.
2018-10-11 Sandra Loosemore <sandra@codesourcery.com> gdb/testsuite/ * gdb.base/solib-vanish.exp: Fix regexp not to require a POSIX directory prefix on the filename.
Diffstat (limited to 'gdb/testsuite/gdb.base/solib-vanish.exp')
-rw-r--r--gdb/testsuite/gdb.base/solib-vanish.exp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.base/solib-vanish.exp b/gdb/testsuite/gdb.base/solib-vanish.exp
index 928ca4e..a243d3d 100644
--- a/gdb/testsuite/gdb.base/solib-vanish.exp
+++ b/gdb/testsuite/gdb.base/solib-vanish.exp
@@ -98,7 +98,7 @@ gdb_breakpoint "${lib2name}.c:${lib2_lineno}" {allow-pending}
# Verify that both the location and source code are displayed
gdb_continue_to_breakpoint "bar" \
- ".*/${lib2name}.c:${lib2_lineno}.*break here.*"
+ ".*${lib2name}.c:${lib2_lineno}.*break here.*"
# This should not segfault
gdb_test "next" \