Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'agent/tcf/services')
-rw-r--r--agent/tcf/services/dwarfreloc-ext.h24
-rw-r--r--agent/tcf/services/dwarfreloc.c2
-rw-r--r--agent/tcf/services/linenumbers_win32.c4
-rw-r--r--agent/tcf/services/symbols_win32.c4
4 files changed, 29 insertions, 5 deletions
diff --git a/agent/tcf/services/dwarfreloc-ext.h b/agent/tcf/services/dwarfreloc-ext.h
new file mode 100644
index 00000000..4a397112
--- /dev/null
+++ b/agent/tcf/services/dwarfreloc-ext.h
@@ -0,0 +1,24 @@
+/*******************************************************************************
+ * Copyright (c) 2011 Wind River Systems, Inc. and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * and Eclipse Distribution License v1.0 which accompany this distribution.
+ * The Eclipse Public License is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ * and the Eclipse Distribution License is available at
+ * http://www.eclipse.org/org/documents/edl-v10.php.
+ * You may elect to redistribute this code under either of these licenses.
+ *
+ * Contributors:
+ * Wind River Systems - initial API and implementation
+ *******************************************************************************/
+
+
+#define elf_relocate elf_relocate_i386
+#include <machine/i386/tcf/dwarfreloc-mdep.h>
+#undef elf_relocate
+
+static ElfRelocateFunc elf_relocate_funcs[] = {
+ { EM_386, elf_relocate_i386 },
+ { EM_NONE, NULL }
+};
diff --git a/agent/tcf/services/dwarfreloc.c b/agent/tcf/services/dwarfreloc.c
index 00d4d5cf..de933a2d 100644
--- a/agent/tcf/services/dwarfreloc.c
+++ b/agent/tcf/services/dwarfreloc.c
@@ -46,7 +46,7 @@ typedef struct ElfRelocateFunc {
void (*func)(void);
} ElfRelocateFunc;
-#include <tcf/machine/elf-mdep.h>
+#include <tcf/services/dwarfreloc-ext.h>
static void relocate(void * r) {
ElfRelocateFunc * func;
diff --git a/agent/tcf/services/linenumbers_win32.c b/agent/tcf/services/linenumbers_win32.c
index efdbf578..830beac5 100644
--- a/agent/tcf/services/linenumbers_win32.c
+++ b/agent/tcf/services/linenumbers_win32.c
@@ -31,8 +31,8 @@
#include <tcf/framework/context.h>
#include <tcf/framework/exceptions.h>
#include <tcf/services/linenumbers.h>
-#include <tcf/system/Windows/windbgcache.h>
-#include <tcf/system/Windows/context-win32.h>
+#include <system/Windows/tcf/windbgcache.h>
+#include <system/Windows/tcf/context-win32.h>
int line_to_address(Context * ctx, char * file, int line, int column,
LineNumbersCallBack * callback, void * user_args) {
diff --git a/agent/tcf/services/symbols_win32.c b/agent/tcf/services/symbols_win32.c
index 53ce1d60..56632517 100644
--- a/agent/tcf/services/symbols_win32.c
+++ b/agent/tcf/services/symbols_win32.c
@@ -33,8 +33,8 @@
#include <tcf/services/symbols.h>
#include <tcf/services/stacktrace.h>
#include <tcf/services/memorymap.h>
-#include <tcf/system/Windows/windbgcache.h>
-#include <tcf/system/Windows/context-win32.h>
+#include <system/Windows/tcf/windbgcache.h>
+#include <system/Windows/tcf/context-win32.h>
#if ENABLE_RCBP_TEST
# include <tcf/main/test.h>
#endif

Back to the top