Skip to main content
summaryrefslogtreecommitdiffstats
path: root/agent/tcf
diff options
context:
space:
mode:
authorEugene Tarassov2013-03-16 00:12:12 +0000
committerEugene Tarassov2013-03-16 00:12:12 +0000
commit79ea34c1645b517ad14e3a8b0beb234451e72007 (patch)
tree9e6eb2eee0c6590064331bb7dc525c48f133e51e /agent/tcf
parentbe74d1138a0f6449e8dc2f925454e325514eee3c (diff)
downloadorg.eclipse.tcf.agent-79ea34c1645b517ad14e3a8b0beb234451e72007.tar.gz
org.eclipse.tcf.agent-79ea34c1645b517ad14e3a8b0beb234451e72007.tar.xz
org.eclipse.tcf.agent-79ea34c1645b517ad14e3a8b0beb234451e72007.zip
TCF Agent: added stack crawl and disassembler for ARM
Diffstat (limited to 'agent/tcf')
-rw-r--r--agent/tcf/framework/cpudefs.c6
-rw-r--r--agent/tcf/framework/cpudefs.h7
2 files changed, 11 insertions, 2 deletions
diff --git a/agent/tcf/framework/cpudefs.c b/agent/tcf/framework/cpudefs.c
index 35910e87..70891a0c 100644
--- a/agent/tcf/framework/cpudefs.c
+++ b/agent/tcf/framework/cpudefs.c
@@ -614,6 +614,12 @@ int cpu_bp_on_suspend(Context * ctx, int * triggered) {
}
#endif
+void ini_cpu_disassembler(Context * cpu) {
+#if defined(ENABLE_add_cpudefs_disassembler) && ENABLE_add_cpudefs_disassembler
+ add_cpudefs_disassembler(cpu);
+#endif
+}
+
void ini_cpudefs(void) {
#if defined(ENABLE_ini_cpudefs_mdep) && ENABLE_ini_cpudefs_mdep
ini_cpudefs_mdep();
diff --git a/agent/tcf/framework/cpudefs.h b/agent/tcf/framework/cpudefs.h
index a17a6ddb..906ad773 100644
--- a/agent/tcf/framework/cpudefs.h
+++ b/agent/tcf/framework/cpudefs.h
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2007, 2012 Wind River Systems, Inc. and others.
+ * Copyright (c) 2007, 2013 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.
@@ -313,9 +313,12 @@ extern int cpu_bp_remove(ContextBreakpoint * bp);
/* Setup breakpoint registers for a context that is about to resume */
extern int cpu_bp_on_resume(Context * ctx, int * single_step);
-/* Chcek breakpoint registers for a context that has stopped */
+/* Check breakpoint registers for a context that has stopped */
extern int cpu_bp_on_suspend(Context * ctx, int * triggered);
+/*** Initialization functions ***/
+
+extern void ini_cpu_disassembler(Context * cpu);
extern void ini_cpudefs(void);

Back to the top