summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristophe Augier2012-09-11 13:06:22 (EDT)
committerEugene Tarassov2012-09-11 15:24:18 (EDT)
commit791bec7aae4709e74feb60e63cdeebff14b87ce3 (patch)
treef135552ef101705fceab219d5d2fe074931eb65d
parente7162b2af9573acad4dba9c724421589b054432d (diff)
downloadorg.eclipse.tcf.agent-791bec7aae4709e74feb60e63cdeebff14b87ce3.zip
org.eclipse.tcf.agent-791bec7aae4709e74feb60e63cdeebff14b87ce3.tar.gz
org.eclipse.tcf.agent-791bec7aae4709e74feb60e63cdeebff14b87ce3.tar.bz2
Bug 389290 - Memory get fails to parse 64-bits address
-rw-r--r--agent/tcf/services/memoryservice.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/agent/tcf/services/memoryservice.c b/agent/tcf/services/memoryservice.c
index 1556005..ace8041 100644
--- a/agent/tcf/services/memoryservice.c
+++ b/agent/tcf/services/memoryservice.c
@@ -295,7 +295,7 @@ static MemoryCommandArgs * read_command_args(char * token, Channel * c, int cmd)
json_read_string(&c->inp, id, sizeof(id));
json_test_char(&c->inp, MARKER_EOA);
- buf.addr = json_read_ulong(&c->inp);
+ buf.addr = json_read_uint64(&c->inp);
json_test_char(&c->inp, MARKER_EOA);
buf.word_size = (int)json_read_long(&c->inp);
json_test_char(&c->inp, MARKER_EOA);