* lib/gdb.exp (gdb_test): Override timeout with board info.
This commit is contained in:
parent
1aca8eb7fa
commit
9d2e1bab9d
2 changed files with 12 additions and 4 deletions
|
@ -1,3 +1,7 @@
|
||||||
|
2000-11-17 Nick Duffek <nsd@redhat.com>
|
||||||
|
|
||||||
|
* lib/gdb.exp (gdb_test): Override timeout with board info.
|
||||||
|
|
||||||
2000-11-17 Nick Duffek <nsd@redhat.com>
|
2000-11-17 Nick Duffek <nsd@redhat.com>
|
||||||
|
|
||||||
* gdb.base/display.exp: Don't kill running stub. Add "again" to
|
* gdb.base/display.exp: Don't kill running stub. Add "again" to
|
||||||
|
|
|
@ -457,6 +457,9 @@ proc gdb_test { args } {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if [target_info exists gdb,timeout] {
|
||||||
|
set tmt [target_info gdb,timeout];
|
||||||
|
} else {
|
||||||
if [info exists timeout] {
|
if [info exists timeout] {
|
||||||
set tmt $timeout;
|
set tmt $timeout;
|
||||||
} else {
|
} else {
|
||||||
|
@ -467,6 +470,7 @@ proc gdb_test { args } {
|
||||||
set tmt 60;
|
set tmt 60;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
gdb_expect $tmt {
|
gdb_expect $tmt {
|
||||||
-re "\\*\\*\\* DOSEXIT code.*" {
|
-re "\\*\\*\\* DOSEXIT code.*" {
|
||||||
if { $message != "" } {
|
if { $message != "" } {
|
||||||
|
|
Loading…
Reference in a new issue