mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-03-07 13:39:43 +08:00
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.
This commit is contained in:
parent
7c80aab936
commit
2888fe8d19
@ -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)"
|
||||
|
Loading…
Reference in New Issue
Block a user