diff options
author | Carl Love <cel@us.ibm.com> | 2021-11-18 00:08:18 +0000 |
---|---|---|
committer | Carl Love <cel@us.ibm.com> | 2021-11-18 10:05:37 -0600 |
commit | 2888fe8d193bd1e82e1e155b9795308184fe923b (patch) | |
tree | b7adcf32c7de204ec52426a6532636897a0eebb5 /gdb/testsuite/gdb.arch | |
parent | 7c80aab93666727965c2d5d6e17b1338d88293e0 (diff) | |
download | gdb-2888fe8d193bd1e82e1e155b9795308184fe923b.zip gdb-2888fe8d193bd1e82e1e155b9795308184fe923b.tar.gz gdb-2888fe8d193bd1e82e1e155b9795308184fe923b.tar.bz2 |
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.
Diffstat (limited to 'gdb/testsuite/gdb.arch')
-rw-r--r-- | gdb/testsuite/gdb.arch/ppc-longdouble.exp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.arch/ppc-longdouble.exp b/gdb/testsuite/gdb.arch/ppc-longdouble.exp index 6e3b1bd..2a49e45 100644 --- a/gdb/testsuite/gdb.arch/ppc-longdouble.exp +++ b/gdb/testsuite/gdb.arch/ppc-longdouble.exp @@ -39,7 +39,7 @@ proc do_test { name {opts {}} } { # Run to the breakpoint at return. gdb_breakpoint [gdb_get_line_number "return"] - gdb_continue_to_breakpoint "return" + gdb_continue_to_breakpoint "return test: $name" # Print the value of ld gdb_test "print ld" ".* = 1\\.375.*" "the value of ld is 1.375 ($name)" |