aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/remote.exp
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2009-11-13 22:33:50 +0000
committerDaniel Jacobowitz <drow@false.org>2009-11-13 22:33:50 +0000
commit4ac4dd3fece22aa8ef53ea7dc4137ef24b8f50eb (patch)
tree42b122de05207348a3037547ea777e00d8181e2b /gdb/testsuite/gdb.base/remote.exp
parenta78817594dcee8b65f09b4e25a83a1f3c17978c2 (diff)
downloadgdb-4ac4dd3fece22aa8ef53ea7dc4137ef24b8f50eb.zip
gdb-4ac4dd3fece22aa8ef53ea7dc4137ef24b8f50eb.tar.gz
gdb-4ac4dd3fece22aa8ef53ea7dc4137ef24b8f50eb.tar.bz2
gdb/testsuite/
* gdb.base/remote.exp: Delete the slowest load test. Do not load with fixed packet sizes.
Diffstat (limited to 'gdb/testsuite/gdb.base/remote.exp')
-rw-r--r--gdb/testsuite/gdb.base/remote.exp7
1 files changed, 5 insertions, 2 deletions
diff --git a/gdb/testsuite/gdb.base/remote.exp b/gdb/testsuite/gdb.base/remote.exp
index 113c56b..c1cea87 100644
--- a/gdb/testsuite/gdb.base/remote.exp
+++ b/gdb/testsuite/gdb.base/remote.exp
@@ -95,6 +95,11 @@ proc gdb_load_timed {executable class writesize} {
}
}
+ # Do not try to load using fixed sizes; we may overflow the remote target.
+ if { $class == "fixed" } {
+ return
+ }
+
set load_begin_time [clock clicks]
set result [gdb_load $executable]
set load_end_time [clock clicks]
@@ -106,8 +111,6 @@ proc gdb_load_timed {executable class writesize} {
pass $test
}
-gdb_load_timed $binfile "" {}
-
# Typically about 400-1 bytes can be downloaded
gdb_load_timed $binfile "limit" 398
gdb_load_timed $binfile "limit" 400