From: Sandra Loosemore Date: Thu, 11 Oct 2018 23:51:26 +0000 (-0700) Subject: Fix pathname regexp in gdb.base/solib-vanish.exp. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d4330bde6891c74498cea8866ce9992181798861;p=binutils-gdb.git Fix pathname regexp in gdb.base/solib-vanish.exp. 2018-10-11 Sandra Loosemore gdb/testsuite/ * gdb.base/solib-vanish.exp: Fix regexp not to require a POSIX directory prefix on the filename. --- diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index f907323f961..ba5fae99e7d 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2018-10-11 Sandra Loosemore + + * gdb.base/solib-vanish.exp: Fix regexp not to require a POSIX + directory prefix on the filename. + 2018-10-10 Sergio Durigan Junior * gdb.gdb/unittest.exp: Update expected message informing that diff --git a/gdb/testsuite/gdb.base/solib-vanish.exp b/gdb/testsuite/gdb.base/solib-vanish.exp index 928ca4ef268..a243d3d2f29 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" \