diff options
author | Eugene Tarassov | 2013-03-16 00:12:12 +0000 |
---|---|---|
committer | Eugene Tarassov | 2013-03-16 00:12:12 +0000 |
commit | 79ea34c1645b517ad14e3a8b0beb234451e72007 (patch) | |
tree | 9e6eb2eee0c6590064331bb7dc525c48f133e51e /agent/system/GNU/Linux/tcf/context-linux.c | |
parent | be74d1138a0f6449e8dc2f925454e325514eee3c (diff) | |
download | org.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.c | 7 |
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 |