Commit 8e00a4d9 authored by Wesley W. Terpstra's avatar Wesley W. Terpstra

Loop terminate please

parent 5001cd08
......@@ -320,7 +320,7 @@ int GDB_RSP::fromHex(const char *&ptr, Bits& bits) {
throw ProtocolViolation(this, "Register is not byte-aligned");
int len = bits.size() / 8;
for (int i = len-1; len >= 0; --i) {
for (int i = len-1; i >= 0; --i) {
uint8_t b;
int got;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment