Beginning of a dwarf unwinder.

Sat Mar 29 11:14:38 2008  Søren Sandmann  <sandmann@redhat.com>

        * unwind.[ch], testunwind.c: Beginning of a dwarf unwinder.



svn path=/trunk/; revision=405
This commit is contained in:
Søren Sandmann
2008-03-29 16:00:33 +00:00
committed by Søren Sandmann Pedersen
parent 72ef8ca8c6
commit d2a6151f8d
9 changed files with 407 additions and 19 deletions

View File

@ -223,7 +223,11 @@ trace_kernel (struct pt_regs *regs,
bp = 0;
#endif
dump_trace(NULL, regs, stack, bp, &backtrace_ops, &info);
dump_trace(NULL, regs, stack,
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,25))
bp,
#endif
&backtrace_ops, &info);
trace->n_kernel_words = info.pos;