On 06/06/2016 11:56 AM, Peter Maydell wrote:
Use cfi directives in the x86-64 safe_syscall to allow gdb to get
backtraces right from within it. (In particular this will be
quite a common situation if the user interrupts QEMU while it's
in a blocked safe-syscall: at the point of the syscall insn RBP
is in use for something else, and so gdb can't find the frame then
without assistance.)

Signed-off-by: Peter Maydell <peter.mayd...@linaro.org>
Reviewed-by: Richard Henderson <r...@twiddle.net>
---
v1->v2 changes: minor tweaks as requested by rth

Reviewed-by: Richard Henderson <r...@twiddle.net>


r~

Reply via email to