gdb/testsuite: use foreach_with_prefix in gdb.guile/scm-ports.exp
authorSimon Marchi <simon.marchi@polymtl.ca>
Mon, 11 Sep 2023 02:13:26 +0000 (22:13 -0400)
committerSimon Marchi <simon.marchi@efficios.com>
Mon, 11 Sep 2023 16:31:04 +0000 (12:31 -0400)
commit31131df04b7b14257a7e4acd3ed3d843c6f98bad
tree87ecd2530044eb1b95ffa961c374675d7945c81f
parent2e2d1ccdc5b66fcb765c7efd2b6ba58c9932697e
gdb/testsuite: use foreach_with_prefix in gdb.guile/scm-ports.exp

Simplify things a bit using foreach_with_prefix.  The only expected
change is in the naming of tests.

Change-Id: Icb5e55207e0209e0d44d9e7c16a2f5e11aa29017
Approved-By: Andrew Burgess <aburgess@redhat.com>
gdb/testsuite/gdb.guile/scm-ports.exp