Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEugene Tarassov2012-04-18 23:33:08 +0000
committerEugene Tarassov2012-04-18 23:33:08 +0000
commit593600d201b78502e711062a108e7885238e448f (patch)
tree88ca33e18f3a489cd24a2edf409e6d6614409a96
parent98d30bafabf6139f26d5634ad613309e3bec1803 (diff)
downloadorg.eclipse.tcf.agent-593600d201b78502e711062a108e7885238e448f.tar.gz
org.eclipse.tcf.agent-593600d201b78502e711062a108e7885238e448f.tar.xz
org.eclipse.tcf.agent-593600d201b78502e711062a108e7885238e448f.zip
Bug 376962 - Depending on the compiler, the TCF agent may not be able to correctly evaluate an expression
-rw-r--r--agent/system/GNU/Linux/tcf/context-linux.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/agent/system/GNU/Linux/tcf/context-linux.c b/agent/system/GNU/Linux/tcf/context-linux.c
index 6808e7b2..bbf39566 100644
--- a/agent/system/GNU/Linux/tcf/context-linux.c
+++ b/agent/system/GNU/Linux/tcf/context-linux.c
@@ -847,6 +847,7 @@ int context_get_memory_map(Context * ctx, MemoryMap * map) {
case 'x': flags |= MM_FLAG_X; break;
}
}
+ if (flags == 0) continue;
if (map->region_cnt > 0) prev = map->regions + (map->region_cnt - 1);

Back to the top