Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* allow gdb_test_multiple { -timeout n }
@ 2010-03-12 21:09 Pedro Alves
  2010-03-12 21:11 ` Pedro Alves
  0 siblings, 1 reply; 2+ messages in thread
From: Pedro Alves @ 2010-03-12 21:09 UTC (permalink / raw)
  To: gdb-patches

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-03-12 21:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-03-12 21:09 allow gdb_test_multiple { -timeout n } Pedro Alves
2010-03-12 21:11 ` Pedro Alves

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox