Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoreutarass2011-06-24 12:37:20 -0400
committereutarass2011-06-24 12:37:20 -0400
commit8286eef85097b5bcc1ff194fbabb16a0cea3c1de (patch)
treef522bfcafea783deaff1aba3d27d90a62277aa91 /services/dwarfexpr.c
parent981b137e8a24e4e67d8ba91222dd7a3cb0e6642b (diff)
downloadorg.eclipse.tcf.agent-8286eef85097b5bcc1ff194fbabb16a0cea3c1de.tar.gz
org.eclipse.tcf.agent-8286eef85097b5bcc1ff194fbabb16a0cea3c1de.tar.xz
org.eclipse.tcf.agent-8286eef85097b5bcc1ff194fbabb16a0cea3c1de.zip
TCF Agent: changes to allow building the agent with -DENABLE_ELF=1 -DENABLE_DebugContext=0
Diffstat (limited to 'services/dwarfexpr.c')
-rw-r--r--services/dwarfexpr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/services/dwarfexpr.c b/services/dwarfexpr.c
index 0474656a..26b94eb0 100644
--- a/services/dwarfexpr.c
+++ b/services/dwarfexpr.c
@@ -19,7 +19,7 @@
#include <config.h>
-#if ENABLE_ELF
+#if ENABLE_ELF && ENABLE_DebugContext
#include <assert.h>
#include <stdio.h>
@@ -584,4 +584,4 @@ void dwarf_evaluate_expression(U8_T BaseAddress, PropertyValue * Value) {
if (Value->mAttr != AT_frame_base) sExprStackLen = 0;
}
-#endif /* ENABLE_ELF */
+#endif /* ENABLE_ELF && ENABLE_DebugContext */

Back to the top