diff options
Diffstat (limited to 'debuggerd/debuggerd.c')
| -rw-r--r-- | debuggerd/debuggerd.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/debuggerd/debuggerd.c b/debuggerd/debuggerd.c index eda43cc9d..64b0bd548 100644 --- a/debuggerd/debuggerd.c +++ b/debuggerd/debuggerd.c @@ -240,6 +240,13 @@ void dump_crash_report(int tfd, unsigned pid, unsigned tid, bool at_fault) } dump_stack_and_code(tfd, tid, milist, stack_depth, sp_list, at_fault); +#elif __i386__ + /* If stack unwinder fails, use the default solution to dump the stack + * content. + */ + stack_depth = unwind_backtrace_with_ptrace_x86(tfd, tid, milist,at_fault); +#else +#error "Unsupported architecture" #endif while(milist) { |
