Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEugene Tarassov2015-05-30 21:55:16 +0000
committerEugene Tarassov2015-05-30 21:55:16 +0000
commit0155733135573d91e50e2bb52ab3444707a46077 (patch)
tree65ad78966204bed2e8a095dc1bc14e0dfacdf784
parentc09b7ee20f2c49ac6298eb77013d4752290c46ed (diff)
downloadorg.eclipse.tcf.agent-0155733135573d91e50e2bb52ab3444707a46077.tar.gz
org.eclipse.tcf.agent-0155733135573d91e50e2bb52ab3444707a46077.tar.xz
org.eclipse.tcf.agent-0155733135573d91e50e2bb52ab3444707a46077.zip
TCF Agent: allow to set EN_STEP_OVER and EN_STEP_LINE macros at compile time
-rw-r--r--agent/tcf/services/runctrl.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/agent/tcf/services/runctrl.c b/agent/tcf/services/runctrl.c
index 00854ce3..a2c56481 100644
--- a/agent/tcf/services/runctrl.c
+++ b/agent/tcf/services/runctrl.c
@@ -45,8 +45,12 @@
#include <tcf/services/symbols.h>
#include <tcf/main/cmdline.h>
-#define EN_STEP_OVER (SERVICE_Breakpoints && SERVICE_StackTrace && ENABLE_Symbols)
-#define EN_STEP_LINE (ENABLE_LineNumbers)
+#ifndef EN_STEP_OVER
+# define EN_STEP_OVER (SERVICE_Breakpoints && SERVICE_StackTrace && ENABLE_Symbols)
+#endif
+#ifndef EN_STEP_LINE
+# define EN_STEP_LINE (ENABLE_LineNumbers)
+#endif
#define STOP_ALL_TIMEOUT 1000000
#define STOP_ALL_MAX_CNT 20

Back to the top