]> rtime.felk.cvut.cz Git - jailhouse.git/commit
x86: Enable unwinding from exception handler
authorJan Kiszka <jan.kiszka@siemens.com>
Tue, 22 Jul 2014 16:37:40 +0000 (18:37 +0200)
committerJan Kiszka <jan.kiszka@siemens.com>
Sat, 26 Jul 2014 11:00:12 +0000 (13:00 +0200)
commit67b5b9e7613844036dd6f868dd6d51d61fe1fdfc
tree353dc6da8ecf1e34a8c80033003b40b8e8e743cc
parent8c20eff688c583023c5c79c08bfdd5c2637582e9
x86: Enable unwinding from exception handler

Preserve the .eh_frame section for the linked hypervisor objection and
only remove it from the binary. Then add .cfi directives to the
exception entry code. This enables to use a debugger for unwinding from
the exception handler to the causing function and beyond (not perfect
due to missing stack frames, though).

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
hypervisor/Makefile
hypervisor/arch/x86/entry.S
hypervisor/hypervisor.lds.S