gdb: use foreach_with_prefix in gdb.base/break-interp.exp
authorSimon Marchi <simon.marchi@efficios.com>
Thu, 12 Mar 2020 18:34:22 +0000 (14:34 -0400)
committerSimon Marchi <simon.marchi@efficios.com>
Thu, 12 Mar 2020 18:34:22 +0000 (14:34 -0400)
commit3f512721a829ce7b2d38236917309a32f42faa99
tree67c1d38e890bed6712b99ee99416b89b30aa36a9
parent40310f30a51c1343b954d1fee7feb9a1d9455e9f
gdb: use foreach_with_prefix in gdb.base/break-interp.exp

Use foreach_with_prefix, instead of foreach and with_test_prefix
separately.  Since allows removing some indentation levels, and formats
the test names a bit nicer, in my opinion (or at least, it's more
consistent with the rest of the testsuite):

    - PASS: gdb.base/break-interp.exp: LDprelinkNOdebugNO: BINprelinkNOdebugNOpieNO: INNER: core: set verbose on
    + PASS: gdb.base/break-interp.exp: ldprelink=NO: ldsepdebug=NO: binprelink=NO: binsepdebug=NO: binpie=NO: INNER: set verbose on

Note: this patch is better viewed with "git show -w" to ignore
whitespace changes.

gdb/testsuite/ChangeLog:

* gdb.base/break-interp.exp: Use foreach_with_prefix.
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/break-interp.exp