diff options
Diffstat (limited to 'gdb/testsuite/gdb.multi/multi-term-settings.exp')
-rw-r--r-- | gdb/testsuite/gdb.multi/multi-term-settings.exp | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/gdb/testsuite/gdb.multi/multi-term-settings.exp b/gdb/testsuite/gdb.multi/multi-term-settings.exp index dafbb1e..aa467e3 100644 --- a/gdb/testsuite/gdb.multi/multi-term-settings.exp +++ b/gdb/testsuite/gdb.multi/multi-term-settings.exp @@ -125,7 +125,9 @@ proc coretest {inf1_how inf2_how} { clean_restart $binfile - set inf1_spawn_id [create_inferior 1 $inf1_how] + with_test_prefix "inf1" { + set inf1_spawn_id [create_inferior 1 $inf1_how] + } set num 2 gdb_test "add-inferior" "Added inferior $num.*" \ @@ -134,7 +136,9 @@ proc coretest {inf1_how inf2_how} { "switch to inferior $num" gdb_file_cmd ${binfile} - set inf2_spawn_id [create_inferior 2 $inf2_how] + with_test_prefix "inf2" { + set inf2_spawn_id [create_inferior 2 $inf2_how] + } gdb_test_no_output "set schedule-multiple on" @@ -218,8 +222,10 @@ proc coretest {inf1_how inf2_how} { } # Useful for debugging in case the Ctrl-C above fails. - gdb_test "info inferiors" - gdb_test "info threads" + with_test_prefix "final" { + gdb_test "info inferiors" + gdb_test "info threads" + } } set how_modes {"run" "attach" "tty"} |