]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
[gdb/testsuite] Use pagination_prompt var more often
authorTom de Vries <tdevries@suse.de>
Thu, 17 Jul 2025 20:06:38 +0000 (22:06 +0200)
committerTom de Vries <tdevries@suse.de>
Thu, 17 Jul 2025 20:06:38 +0000 (22:06 +0200)
commit90fcff38dda9472f7747c422c9eb02e42cbd70c6
treeb1da30730e9603f93533d8ed538af4fcfd3c8e21
parente83ef5d62595f04f9cbae7a1dc88a4aa56a0cc6d
[gdb/testsuite] Use pagination_prompt var more often

In some test-cases, matching the pagination prompt is split up to address a
matching race but that's no longer necessary, thanks to commit c3f814a1433
("Fix paginate-*.exp races").

Fix this by using the pagination_prompt variable.

Tested on x86_64-linux.

Approved-By: Andrew Burgess <aburgess@redhat.com>
gdb/testsuite/gdb.cp/static-print-quit.exp
gdb/testsuite/gdb.python/py-cmd.exp
gdb/testsuite/gdb.python/python.exp