aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorTim Newsome <tim@sifive.com>2016-05-10 19:29:17 -0700
committerTim Newsome <tim@sifive.com>2016-05-23 12:12:13 -0700
commit91a4f8114dad884b19081f09e6fe17ea2820ec52 (patch)
tree312275523c074e9a5d9127d73632c00dc215fc57 /tests
parent9a5ad6994b3986e59c7365d22f91e86e60317f8a (diff)
downloadspike-91a4f8114dad884b19081f09e6fe17ea2820ec52.zip
spike-91a4f8114dad884b19081f09e6fe17ea2820ec52.tar.gz
spike-91a4f8114dad884b19081f09e6fe17ea2820ec52.tar.bz2
Tell gdb we can handle large packets.
This speeds up downloads to 93KB/s, which is starting to get usable.
Diffstat (limited to 'tests')
-rwxr-xr-xtests/gdbserver.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/gdbserver.py b/tests/gdbserver.py
index 5be6574..0cdd060 100755
--- a/tests/gdbserver.py
+++ b/tests/gdbserver.py
@@ -160,7 +160,7 @@ class RegsTest(unittest.TestCase):
class DownloadTest(unittest.TestCase):
def setUp(self):
- length = 2**16
+ length = 2**20
fd = file("data.c", "w")
fd.write("#include <stdint.h>\n")
fd.write("uint32_t length = %d;\n" % length)