Add missing gdb_prompt in ctxobj.exp to avoid random failure, fix typo.
authorPhilippe Waroquiers <philippe.waroquiers@skynet.be>
Sat, 19 Nov 2022 14:55:33 +0000 (15:55 +0100)
committerPhilippe Waroquiers <philippe.waroquiers@skynet.be>
Sat, 19 Nov 2022 14:55:33 +0000 (15:55 +0100)
commitf80d30f61a5cb2293c2907909e2fbfc6a5be4144
treef491fb41cc5a9cc18aa7dfc28d14389a2c87ae4d
parent78805ff8aecf0a8c828fb1e2c344fa3a56655120
Add missing gdb_prompt in ctxobj.exp to avoid random failure, fix typo.

ctxobj.exp fails randomly when computer is loaded.
With the addition of $gdb_prompt in the regexp testing for breakpoint hit,
I could not make it fail anymore.

Also fixed a typo in a comment.
gdb/testsuite/gdb.base/ctxobj.exp
gdb/testsuite/lib/mi-support.exp