Fix failure in gdb.ada/complete.exp
authorTom Tromey <tromey@adacore.com>
Tue, 28 May 2019 16:55:59 +0000 (10:55 -0600)
committerTom Tromey <tromey@adacore.com>
Wed, 29 May 2019 16:06:13 +0000 (10:06 -0600)
commitf49055a52f04f75b6560f304eb975128dd82ad68
tree8ca4d56ce6c023cffa342cb517ed7c33ef4f2bc0
parentfa9c3fa035433debc24503e32c59688650ffcdbb
Fix failure in gdb.ada/complete.exp

I noticed a failure in gdb.ada/complete.exp when testing locally:

    FAIL: gdb.ada/complete.exp: complete break ada

This failed due to this output:

    [...]
    break ada/generated/gnatvsn.ads
    break ada/libgnat/s-excmac.ads
    break ada/sdefault.adb
    break ada/snames.adb
    break ada/snames.ads

This patch updates the regexp to allow "/" and "-" to appear.

gdb/testsuite/ChangeLog
2019-05-29  Tom Tromey  <tromey@adacore.com>

* gdb.ada/complete.exp (test_gdb_no_completion): Add "/" and "-"
to "break complete ada" test case's regexp.
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.ada/complete.exp