Messages in this thread | | | From | Keith Owens <> | Subject | Re: KDB in the mainstream 2.4.x kernels? | Date | Sun, 20 Jul 2003 22:55:18 +1000 |
| |
On Fri, 18 Jul 2003 22:43:57 +0200, >I actually started on porting the KDB backtracer recently to get >reliable frame pointer based backtraces, but it turns out the code >for that is so complicated and ugly that the chances of ever merging >it would be very slim.
Mainly because the kernel is full of special cases and i386 provides no unwind data to help decode those special cases, so all the special case code ends up in kdba_bt.c. Compare the complexity of i386 kdba_bt.c with ia64 kdba_bt.c, the latter is significantly simpler because ia64 mandates unwind data. Without unwind data, kdb has to use lots of awkward heuristics to even guess at an accurate backtrace. Don't blame kdb for the lack of i386 unwind data.
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |