test_watchpoint_triggering
}
-if [gdb_debug_enabled] {
- # gdb debug doesn't work for separate-mi-tty.
- set modes {"main"}
-} else {
- set modes {"main" "separate"}
-}
-
# Run the tests twice, once using software watchpoints, and another
# with hardware watchpoints.
-foreach_with_prefix mi-mode $modes {
+foreach_mi_ui_mode mi-mode {
foreach_with_prefix wp-type {"sw" "hw"} {
test_watchpoint_all ${mi-mode} ${wp-type}
}