gdb/testsuite: make more use of mi-support.exp
authorAndrew Burgess <aburgess@redhat.com>
Fri, 17 Feb 2023 14:33:03 +0000 (14:33 +0000)
committerAndrew Burgess <aburgess@redhat.com>
Tue, 28 Feb 2023 10:56:28 +0000 (10:56 +0000)
commitc8dfa492106ff57f3e1dd6731d5ba5b754f05616
tree7d296a84f74b1925c5e5a924ba0ab1181bde3719
parent2fd9a436c8d24eb0af85ccb3a2fbdf9a9c679a6c
gdb/testsuite: make more use of mi-support.exp

Building on the previous commit, now that the breakpoint related
support functions in lib/mi-support.exp can now help creating the
patterns for thread specific breakpoints, make use of this
functionality for gdb.mi/mi-nsmoribund.exp and gdb.mi/mi-pending.exp.

There should be no changes in what is tested after this commit.

Reviewed-By: Pedro Alves <pedro@palves.net>
gdb/testsuite/gdb.mi/mi-nsmoribund.exp
gdb/testsuite/gdb.mi/mi-pending.exp