Skip to main content
summaryrefslogtreecommitdiffstats
path: root/server
diff options
context:
space:
mode:
authoreutarass2011-09-12 17:38:37 -0400
committereutarass2011-09-12 17:38:37 -0400
commit42b76b7aabb36ce114f74186527157e035e3c91c (patch)
tree558bed3d50c47e062b55da9f30df58273a3c1f61 /server
parentb81c6fd3fa909779abf1e3ba9923481c8a402f66 (diff)
downloadorg.eclipse.tcf.agent-42b76b7aabb36ce114f74186527157e035e3c91c.tar.gz
org.eclipse.tcf.agent-42b76b7aabb36ce114f74186527157e035e3c91c.tar.xz
org.eclipse.tcf.agent-42b76b7aabb36ce114f74186527157e035e3c91c.zip
TCF Agent: implemented translation of breakpoint file names.
Diffstat (limited to 'server')
-rw-r--r--server/services/context-proxy.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/services/context-proxy.c b/server/services/context-proxy.c
index ae4a2158..850eb5d5 100644
--- a/server/services/context-proxy.c
+++ b/server/services/context-proxy.c
@@ -994,8 +994,8 @@ static void read_memory_map_item(InputStream * inp, void * args) {
memset(m, 0, sizeof(MemoryRegion));
if (json_read_struct(inp, read_memory_region_property, m) && m->file_name != NULL) {
struct stat buf;
- char * fnm = path_map_to_local(c, m->file_name);
- if (fnm != NULL) {
+ char * fnm = apply_path_map(c, m->file_name, PATH_MAP_TO_LOCAL);
+ if (fnm != m->file_name) {
loc_free(m->file_name);
m->file_name = loc_strdup(fnm);
}

Back to the top