Re: [discuss] booting a kernel compiled with -mregparm=0

From: Tigran Aivazian
Date: Mon Jan 17 2005 - 08:18:50 EST


Hi Andi,

On Mon, 17 Jan 2005, Andi Kleen wrote:
The ABI supported way is to read the DWARF2 unwind tables. For that
you would a dwarf2 reader. gdb does that in user space, and libgcc2
also does it for exception unwinding. IA64 has an in kernel dwarf2
reader library (and ia64 kdb uses it), although it would probably need
some work to make it work on x86-64.

So far nobody wanted it enough to do the porting work though.

Thank you for the pointer. I will look at it and see if I can try to port it to x86_64, since that is the standard and official way. I admit that I didn't realize that the "magic stuff" which gdb does is in fact a dwarf2 implementation (and this is what's missing in kdb on x86_64).

Kind regards
Tigran
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/