mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-27 22:48:57 +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:
@ -39,7 +39,7 @@ proc do_test { name {opts {}} } {
|
|||||||
|
|
||||||
# Run to the breakpoint at return.
|
# Run to the breakpoint at return.
|
||||||
gdb_breakpoint [gdb_get_line_number "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
|
# Print the value of ld
|
||||||
gdb_test "print ld" ".* = 1\\.375.*" "the value of ld is 1.375 ($name)"
|
gdb_test "print ld" ".* = 1\\.375.*" "the value of ld is 1.375 ($name)"
|
||||||
|
Reference in New Issue
Block a user