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 | |
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.
-rw-r--r-- | server/server.vcproj | 8 | ||||
-rw-r--r-- | server/tcf/services/context-proxy.c | 3 |
2 files changed, 10 insertions, 1 deletions
diff --git a/server/server.vcproj b/server/server.vcproj index c3068a38..46290dd1 100644 --- a/server/server.vcproj +++ b/server/server.vcproj @@ -347,6 +347,14 @@ >
</File>
<File
+ RelativePath="..\agent\tcf\services\contextquery.c"
+ >
+ </File>
+ <File
+ RelativePath="..\agent\tcf\services\contextquery.h"
+ >
+ </File>
+ <File
RelativePath="..\agent\tcf\services\diagnostics.c"
>
</File>
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); |