Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoreutarass2008-03-24 15:36:18 -0400
committereutarass2008-03-24 15:36:18 -0400
commit00d9873796602ccaeb0fd6b38bdbb60ba262407a (patch)
tree9824e0d5650eacd73316b21093b1cc1dceb39f13 /examples
parentbad0750d295717b96bc1b75d6c192f8268b0ed8a (diff)
downloadorg.eclipse.tcf-00d9873796602ccaeb0fd6b38bdbb60ba262407a.tar.gz
org.eclipse.tcf-00d9873796602ccaeb0fd6b38bdbb60ba262407a.tar.xz
org.eclipse.tcf-00d9873796602ccaeb0fd6b38bdbb60ba262407a.zip
1. Debug services RunControl, Breakpoints, Memory, Registers and StackTrace now work on Windows and CygWin.
2. Added missing error checks on all pthreads calls. 3. Fixed Bug 222929: [tcf] "Processes attach <ID>" command generates an invalid TCF message
Diffstat (limited to 'examples')
-rw-r--r--examples/org.eclipse.tm.tcf.examples.daytime.agent/Makefile2
-rw-r--r--examples/org.eclipse.tm.tcf.examples.daytime.agent/daytime.c1
-rw-r--r--examples/org.eclipse.tm.tcf.examples.daytime.agent/daytime.h1
3 files changed, 3 insertions, 1 deletions
diff --git a/examples/org.eclipse.tm.tcf.examples.daytime.agent/Makefile b/examples/org.eclipse.tm.tcf.examples.daytime.agent/Makefile
index 64d3ba729..6b4ebb91b 100644
--- a/examples/org.eclipse.tm.tcf.examples.daytime.agent/Makefile
+++ b/examples/org.eclipse.tm.tcf.examples.daytime.agent/Makefile
@@ -10,7 +10,7 @@ EXES=agent
UNAME=$(shell uname -o)
ifeq ($(UNAME),Cygwin)
-LIBS=-lpthread -lws2_32
+LIBS=-lws2_32 -liphlpapi
else
LIBS=-lpthread -lrt -lelf
endif
diff --git a/examples/org.eclipse.tm.tcf.examples.daytime.agent/daytime.c b/examples/org.eclipse.tm.tcf.examples.daytime.agent/daytime.c
index 1faf9af9c..47d997736 100644
--- a/examples/org.eclipse.tm.tcf.examples.daytime.agent/daytime.c
+++ b/examples/org.eclipse.tm.tcf.examples.daytime.agent/daytime.c
@@ -13,6 +13,7 @@
* Sample TCF service implementation.
*/
+#include "mdep.h"
#include <time.h>
#include "daytime.h"
#include "json.h"
diff --git a/examples/org.eclipse.tm.tcf.examples.daytime.agent/daytime.h b/examples/org.eclipse.tm.tcf.examples.daytime.agent/daytime.h
index 327600ef9..93ef222f3 100644
--- a/examples/org.eclipse.tm.tcf.examples.daytime.agent/daytime.h
+++ b/examples/org.eclipse.tm.tcf.examples.daytime.agent/daytime.h
@@ -16,6 +16,7 @@
#ifndef DAYTIME_H_
#define DAYTIME_H_
+#include "mdep.h"
#include "protocol.h"
extern void ini_daytime_service(Protocol * proto);

Back to the top