This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]