Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEugene Tarassov2017-05-18 13:49:15 -0400
committerEugene Tarassov2017-05-18 13:49:15 -0400
commit48b70f83f37234e54dcdbafe05a52ab86df86064 (patch)
tree968c9740ab4117faaaf0aaeec639bd5c197dae15 /agent/system/Darwin
parentc641c9076d61efde536256d0f27dbf998841fe16 (diff)
downloadorg.eclipse.tcf.agent-48b70f83f37234e54dcdbafe05a52ab86df86064.tar.gz
org.eclipse.tcf.agent-48b70f83f37234e54dcdbafe05a52ab86df86064.tar.xz
org.eclipse.tcf.agent-48b70f83f37234e54dcdbafe05a52ab86df86064.zip
Bug 516899 - Regression: TCF Agent fails to build on MacOSX 10.11.6 El Capitan
Diffstat (limited to 'agent/system/Darwin')
-rw-r--r--agent/system/Darwin/tcf/context-darwin.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/agent/system/Darwin/tcf/context-darwin.c b/agent/system/Darwin/tcf/context-darwin.c
index 8f8ac9e7..271e89dc 100644
--- a/agent/system/Darwin/tcf/context-darwin.c
+++ b/agent/system/Darwin/tcf/context-darwin.c
@@ -645,6 +645,7 @@ static void event_pid_stopped(pid_t pid, int signal, int event, int syscall) {
trace(LOG_EVENTS, "event: pid %d stopped at PC = %#lx", pid, pc1);
if (signal == SIGTRAP && event == 0 && !syscall) {
+ int offs = 0;
#ifdef TRAP_OFFSET
offs = -(TRAP_OFFSET);
#else

Back to the top