Merge pull request #170 from riscv/strtoull
Parse 64-bit CRC addrs even on 32-bit hosts
This commit is contained in:
commit
82529e71e0
|
@ -2444,7 +2444,7 @@ static int gdb_query_packet(struct connection *connection,
|
||||||
/* skip command character */
|
/* skip command character */
|
||||||
packet += 5;
|
packet += 5;
|
||||||
|
|
||||||
addr = strtoul(packet, &separator, 16);
|
addr = strtoull(packet, &separator, 16);
|
||||||
|
|
||||||
if (*separator != ',') {
|
if (*separator != ',') {
|
||||||
LOG_ERROR("incomplete read memory packet received, dropping connection");
|
LOG_ERROR("incomplete read memory packet received, dropping connection");
|
||||||
|
|
Loading…
Reference in New Issue