This is an automated email from Gerrit. David Ung ([email protected]) just uploaded a new patch set to Gerrit, which you can find at http://openocd.zylin.com/2498
-- gerrit commit 224b3b818d7fd9f26f2d27a85e9763d05ee31608 Author: David Ung <[email protected]> Date: Fri Jan 16 17:22:00 2015 -0800 server: Allow 64 address to be send over GBD server Accept 64 bit addresses from GDB read memory packet. This is needed for aarch64 support. Change-Id: I9bf7b44affe24839cf30897c55ad17fdd29edf14 Signed-off-by: David Ung <[email protected]> diff --git a/src/server/gdb_server.c b/src/server/gdb_server.c index 152a06c..86c7e1c 100644 --- a/src/server/gdb_server.c +++ b/src/server/gdb_server.c @@ -1350,7 +1350,7 @@ static int gdb_read_memory_packet(struct connection *connection, { struct target *target = get_target_from_connection(connection); char *separator; - uint32_t addr = 0; + uint64_t addr = 0; uint32_t len = 0; uint8_t *buffer; @@ -1361,7 +1361,7 @@ static int gdb_read_memory_packet(struct connection *connection, /* skip command character */ packet++; - addr = strtoul(packet, &separator, 16); + addr = strtoull(packet, &separator, 16); if (*separator != ',') { LOG_ERROR("incomplete read memory packet received, dropping connection"); @@ -1378,7 +1378,7 @@ static int gdb_read_memory_packet(struct connection *connection, buffer = malloc(len); - LOG_DEBUG("addr: 0x%8.8" PRIx32 ", len: 0x%8.8" PRIx32 "", addr, len); + LOG_DEBUG("addr: 0x%16.16" PRIx64 ", len: 0x%8.8" PRIx32 "", addr, len); retval = target_read_buffer(target, addr, len, buffer); -- ------------------------------------------------------------------------------ New Year. New Location. New Benefits. New Data Center in Ashburn, VA. GigeNET is offering a free month of service with a new server in Ashburn. Choose from 2 high performing configs, both with 100TB of bandwidth. Higher redundancy.Lower latency.Increased capacity.Completely compliant. http://p.sf.net/sfu/gigenet _______________________________________________ OpenOCD-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/openocd-devel
