Skip to main content
aboutsummaryrefslogtreecommitdiffstats
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/system/GNU/Linux/tcf/context-linux.c
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/system/GNU/Linux/tcf/context-linux.c')
-rw-r--r--agent/system/GNU/Linux/tcf/context-linux.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/agent/system/GNU/Linux/tcf/context-linux.c b/agent/system/GNU/Linux/tcf/context-linux.c
index 58d65f05..4937857f 100644
--- a/agent/system/GNU/Linux/tcf/context-linux.c
+++ b/agent/system/GNU/Linux/tcf/context-linux.c
@@ -815,7 +815,10 @@ Context * context_get_group(Context * ctx, int group) {
case CONTEXT_GROUP_INTERCEPT:
return ctx;
case CONTEXT_GROUP_CPU:
- if (cpu_group == NULL) cpu_group = create_context("CPU");
+ if (cpu_group == NULL) {
+ cpu_group = create_context("CPU");
+ ini_cpu_disassembler(cpu_group);
+ }
return cpu_group;
}
return ctx->mem;
@@ -921,6 +924,8 @@ int context_get_isa(Context * ctx, ContextAddress addr, ContextISA * isa) {
isa->def = "386";
#elif defined(__x86_64__)
isa->def = "X86_64";
+#elif defined(__arm__)
+ isa->def = "ARM";
#else
isa->def = NULL;
#endif

Back to the top