Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEugene Tarassov2014-09-23 23:51:17 +0000
committerEugene Tarassov2014-09-23 23:51:17 +0000
commit5fa3ee92e60eb11935e78b6a5c8951e6c5c2cf2c (patch)
treec236f5ca2839935718a093f0df7291b85649c4bd
parent71644500310aa666620762aaf81290da1ee87fbb (diff)
downloadorg.eclipse.tcf.agent-5fa3ee92e60eb11935e78b6a5c8951e6c5c2cf2c.tar.gz
org.eclipse.tcf.agent-5fa3ee92e60eb11935e78b6a5c8951e6c5c2cf2c.tar.xz
org.eclipse.tcf.agent-5fa3ee92e60eb11935e78b6a5c8951e6c5c2cf2c.zip
TCF Agent: faster find_by_addr_in_unit()
-rw-r--r--agent/tcf/services/symbols_elf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/agent/tcf/services/symbols_elf.c b/agent/tcf/services/symbols_elf.c
index 33faa63f..dd75892e 100644
--- a/agent/tcf/services/symbols_elf.c
+++ b/agent/tcf/services/symbols_elf.c
@@ -1454,7 +1454,7 @@ static int find_by_addr_in_unit(ObjectInfo * obj, int level, UnitAddress * addr,
case TAG_local_variable:
if (sym_frame == STACK_NO_FRAME) break;
case TAG_variable:
- {
+ if (obj->mFlags & DOIF_location) {
U8_T lc = 0;
/* Ignore location evaluation errors. For example, the error can be caused by
* the object not being mapped into the context memory */

Back to the top