]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
Fix pathname regexp in gdb.base/solib-vanish.exp.
authorSandra Loosemore <sandra@codesourcery.com>
Thu, 11 Oct 2018 23:51:26 +0000 (16:51 -0700)
committerSandra Loosemore <sandra@codesourcery.com>
Thu, 11 Oct 2018 23:51:26 +0000 (16:51 -0700)
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.

gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/solib-vanish.exp

index f907323f9615cb7d54b5e49c9df457ad3902a139..ba5fae99e7da754662597cdc8460ab7e49737cbe 100644 (file)
@@ -1,3 +1,8 @@
+2018-10-11  Sandra Loosemore  <sandra@codesourcery.com>
+
+       * gdb.base/solib-vanish.exp: Fix regexp not to require a POSIX
+       directory prefix on the filename.
+
 2018-10-10  Sergio Durigan Junior  <sergiodj@redhat.com>
 
        * gdb.gdb/unittest.exp: Update expected message informing that
index 928ca4ef268d6da536954abc79c5cd3b4d412c63..a243d3d2f2959a01c4d40e32de1408ae88048788 100644 (file)
@@ -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" \