This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
allow gdb_test_multiple { -timeout n }
- From: Pedro Alves <pedro at codesourcery dot com>
- To: gdb-patches at sourceware dot org
- Date: Fri, 12 Mar 2010 21:09:02 +0000
- Subject: allow gdb_test_multiple { -timeout n }
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