Merge pull request #170 from riscv/strtoull

Parse 64-bit CRC addrs even on 32-bit hosts
rbb_cleanup
Tim Newsome 2018-01-03 12:48:36 -08:00 committed by GitHub
commit 82529e71e0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -2444,7 +2444,7 @@ static int gdb_query_packet(struct connection *connection,
/* skip command character */
packet += 5;
addr = strtoul(packet, &separator, 16);
addr = strtoull(packet, &separator, 16);
if (*separator != ',') {
LOG_ERROR("incomplete read memory packet received, dropping connection");