mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-26 01:07:52 +00:00
* lib/gdb.exp (gdb_test): Override timeout with board info.
This commit is contained in:
@@ -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>
|
||||
|
||||
* gdb.base/display.exp: Don't kill running stub. Add "again" to
|
||||
|
||||
@@ -457,14 +457,18 @@ proc gdb_test { args } {
|
||||
}
|
||||
}
|
||||
|
||||
if [info exists timeout] {
|
||||
set tmt $timeout;
|
||||
if [target_info exists gdb,timeout] {
|
||||
set tmt [target_info gdb,timeout];
|
||||
} else {
|
||||
global timeout;
|
||||
if [info exists timeout] {
|
||||
set tmt $timeout;
|
||||
} else {
|
||||
set tmt 60;
|
||||
global timeout;
|
||||
if [info exists timeout] {
|
||||
set tmt $timeout;
|
||||
} else {
|
||||
set tmt 60;
|
||||
}
|
||||
}
|
||||
}
|
||||
gdb_expect $tmt {
|
||||
|
||||
Reference in New Issue
Block a user