projects
/
riscv-isa-sim.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0fd7c9f
)
Don't spin on the remote bitbang reads
author
Palmer Dabbelt
<palmer@dabbelt.com>
Wed, 26 Apr 2017 16:13:49 +0000
(09:13 -0700)
committer
Palmer Dabbelt
<palmer@dabbelt.com>
Wed, 26 Apr 2017 16:14:27 +0000
(09:14 -0700)
riscv/remote_bitbang.cc
patch
|
blob
|
history
diff --git
a/riscv/remote_bitbang.cc
b/riscv/remote_bitbang.cc
index 9d0ca90a2b5584e38b5c14501a9e2de813d398aa..888032e005a59bccab4889fb4cc222935599e7f5 100644
(file)
--- a/
riscv/remote_bitbang.cc
+++ b/
riscv/remote_bitbang.cc
@@
-157,7
+157,7
@@
void remote_bitbang_t::execute_commands()
if (recv_end == -1) {
if (errno == EAGAIN) {
- // We'll try again the next call.
+ break;
} else {
fprintf(stderr, "remote_bitbang failed to read on socket: %s (%d)\n",
strerror(errno), errno);