[kvm-unit-tests v2 0/8] Debugging aids

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Some aids for debugging: stack dumping, register dumping, and printing
failing assertion conditions.

N.B. I haven't tried compiling on arm or ppc.

v2:
	* Fixed a bunch tests on x86 that broke with
	  -fno-omit-frame-pointer. 
	* Only use -fno-omit-frame-pointer on x86. I suspect arm & ppc
	  will have similar problems that I fixed for x86.
	

Peter Feiner (8):
  x86: emulator: asm fixes
  x86: emulator: disable test_lldt
  x86: realmode: fix test_sgdt_sidt overflow
  x86: eventinj: make test work with -O0
  lib: backtrace printing
  x86: lib: debug dump on unhandled exceptions
  lib: dump stack on abort()
  scripts: pretty print stack traces

 Makefile                       |  3 +-
 arm/Makefile.common            |  1 +
 lib/arm/dump_stack.c           |  6 ++++
 lib/libcflat.h                 | 10 ++++--
 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            |  4 +++
 x86/emulator.c                 | 74 +++++++++++++++++++++++++++---------------
 x86/eventinj.c                 |  3 +-
 x86/realmode.c                 | 23 ++++++-------
 15 files changed, 281 insertions(+), 51 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



[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux