allow gdb_test_multiple { -timeout n }

Pedro Alves
2010-03-12T21:09:15Z

I've applied this patch of Daniel's. It tweaks gdb_test_multiple
to be able to forward expect a -timeout switch. E.g.,
instead of:

set prev_timeout $timeout
set timeout 10

gdb_test_multiple "" "" {
-re "$gdb_prompt $" { }
}

set timeout $prev_timeout

you can simply do:

gdb_test_multiple "" "" {
-timeout 10
-re "$gdb_prompt $" { }
}

--
Pedro Alves