gdb fix PowerPC test gdb.arch/ppc-longdouble.exp
authorCarl Love <cel@us.ibm.com>
Thu, 18 Nov 2021 00:08:18 +0000 (00:08 +0000)
committerCarl Love <cel@us.ibm.com>
Thu, 18 Nov 2021 16:05:37 +0000 (10:05 -0600)
commit2888fe8d193bd1e82e1e155b9795308184fe923b
treeb7adcf32c7de204ec52426a6532636897a0eebb5
parent7c80aab93666727965c2d5d6e17b1338d88293e0
gdb fix PowerPC test gdb.arch/ppc-longdouble.exp

The test complains of duplicate tests.

DUPLICATE: gdb.arch/ppc-longdouble.exp: continue to breakpoint: return

The do_test calls gdb_continue_to_breakpoint "return".  The duplicates
are the result of calling do_test three times with different arguments.

This patch fixes the duplicate tests by adding $name to the
gdb_continue_to_breakpoint argument.

Patch tested on Power 10  ppc64le GNU/Linux, no duplicate tests reported,
no new regression errors.
gdb/testsuite/gdb.arch/ppc-longdouble.exp