Expect for "@" when doing "complete break ada" on gdb.ada/complete.exp
authorSergio Durigan Junior <sergiodj@redhat.com>
Mon, 17 Sep 2018 21:29:50 +0000 (17:29 -0400)
committerSergio Durigan Junior <sergiodj@redhat.com>
Tue, 18 Sep 2018 17:50:51 +0000 (13:50 -0400)
commit7a6d2b458f95030f433a0dcdabd5cda7ee695a9b
tree71b8561685d5e94e293eee9d8977c717ef95a99f
parent40f03055a23b7d77e18e14264046d8e21b6abf67
Expect for "@" when doing "complete break ada" on gdb.ada/complete.exp

Currently, gdb.ada/complete.exp's "complete break ada" test fails
because the regexp used to match the command's output doesn't expect
"@", but we have an output like:

  ...
  complete break ada
  break ada.assertions.assert
  break ada.calendar.arithmetic.difference
  break ada.calendar.arithmetic_operations.add
  break ada.calendar.arithmetic_operations.add.cold
  break ada.calendar.arithmetic_operations.add@plt
  break ada.calendar.arithmetic_operations.difference
  break ada.calendar.arithmetic_operations.difference@plt
  ...

This patch adds "@" to the regexp, unbreaking the test.

OK?

gdb/testsuite/ChangeLog:
2018-09-18  Sergio Durigan Junior  <sergiodj@redhat.com>

* gdb.ada/complete.exp: Expect for "@" when doing "complete
break ada".
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.ada/complete.exp