Some aids for debugging: stack dumping, register dumping, and printing failing assertion conditions. N.B. I haven't tried compiling on arm or ppc. Peter Feiner (5): lib: print failing assert cond lib: backtrace printing x86: lib: debug dump on unhandled exceptions lib: dump stack on abort() scripts: pretty print stack traces Makefile | 2 +- arm/Makefile.common | 1 + lib/arm/dump_stack.c | 6 ++++ lib/libcflat.h | 11 +++++-- lib/powerpc/dump_stack.c | 6 ++++ lib/printf.c | 37 ++++++++++++++++++++++ lib/x86/desc.c | 69 ++++++++++++++++++++++++++++++++++++++---- lib/x86/dump_stack.c | 24 +++++++++++++++ powerpc/Makefile.common | 1 + run_tests.sh | 10 ++++-- scripts/pretty_print_stacks.py | 61 +++++++++++++++++++++++++++++++++++++ x86/Makefile.common | 1 + 12 files changed, 218 insertions(+), 11 deletions(-) create mode 100644 lib/arm/dump_stack.c create mode 100644 lib/powerpc/dump_stack.c create mode 100644 lib/x86/dump_stack.c create mode 100755 scripts/pretty_print_stacks.py -- 2.7.0.rc3.207.g0ac5344 -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html