diff options
author | Eugene Tarassov | 2012-01-12 20:12:59 +0000 |
---|---|---|
committer | Eugene Tarassov | 2012-01-12 20:12:59 +0000 |
commit | d85fcecd5a95d3e894e017f13da6a9a0ee61ea98 (patch) | |
tree | 6c5e0fccbd1c97e73ed831686f2a8fc63db002bd /server/tcf/services | |
parent | 4080c099bb61345589958a09ca49fd0fe2d60056 (diff) | |
download | org.eclipse.tcf.agent-d85fcecd5a95d3e894e017f13da6a9a0ee61ea98.tar.gz org.eclipse.tcf.agent-d85fcecd5a95d3e894e017f13da6a9a0ee61ea98.tar.xz org.eclipse.tcf.agent-d85fcecd5a95d3e894e017f13da6a9a0ee61ea98.zip |
TCF Server: fixed handling of ContextQuery and ID properties of memory region in the server cache.
Diffstat (limited to 'server/tcf/services')
-rw-r--r-- | server/tcf/services/context-proxy.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/server/tcf/services/context-proxy.c b/server/tcf/services/context-proxy.c index 9aa54ff5..a2ff4ade 100644 --- a/server/tcf/services/context-proxy.c +++ b/server/tcf/services/context-proxy.c @@ -971,7 +971,8 @@ static void read_memory_region_property(InputStream * inp, const char * name, vo else if (strcmp(name, "Flags") == 0) m->flags = json_read_ulong(inp); else if (strcmp(name, "FileName") == 0) m->file_name = json_read_alloc_string(inp); else if (strcmp(name, "SectionName") == 0) m->sect_name = json_read_alloc_string(inp); - else if (strcmp(name, "ID")) m->id = json_read_alloc_string(inp); + else if (strcmp(name, "ContextQuery") == 0) m->query = json_read_alloc_string(inp); + else if (strcmp(name, "ID") == 0) m->id = json_read_alloc_string(inp); else { MemoryRegionAttribute * x = (MemoryRegionAttribute *)loc_alloc(sizeof(MemoryRegionAttribute)); x->name = loc_strdup(name); |