Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test-dwarf/tcf/backend/backend.h')
-rw-r--r--tests/test-dwarf/tcf/backend/backend.h31
1 files changed, 31 insertions, 0 deletions
diff --git a/tests/test-dwarf/tcf/backend/backend.h b/tests/test-dwarf/tcf/backend/backend.h
new file mode 100644
index 00000000..f9aaa0b2
--- /dev/null
+++ b/tests/test-dwarf/tcf/backend/backend.h
@@ -0,0 +1,31 @@
+/*******************************************************************************
+ * Copyright (c) 2010, 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
+ *******************************************************************************/
+
+/* Fake debug context API implementation. It used for testing symbol services. */
+
+#ifndef D_backend
+#define D_backend
+
+#include <tcf/config.h>
+#include <tcf/framework/channel.h>
+
+#define MAX_REGS 2000
+
+struct RegisterData {
+ uint8_t data[MAX_REGS * 8];
+ uint8_t mask[MAX_REGS * 8];
+};
+
+#endif /* D_backend */

Back to the top