Refactor py-inferior.exp
authorTom Tromey <tromey@adacore.com>
Thu, 6 Jul 2023 17:55:47 +0000 (11:55 -0600)
committerTom Tromey <tromey@adacore.com>
Fri, 14 Jul 2023 16:52:56 +0000 (10:52 -0600)
commiteef2e91d32928096b5c174d50d40fe13955a407a
tree55acf935cb1ca197a640713e033685c7756f8ecd
parentf591041956c2695a317ad3be3f453f1c6a24c07e
Refactor py-inferior.exp

This changes py-inferior.exp to make it a bit more robust when adding
new inferiors during the course of the test.

Approved-By: Pedro Alves <pedro@palves.net>
gdb/testsuite/gdb.python/py-inferior.exp