Re: [PATCH 4/5] x86: entry_64.S: always allocate complete "struct pt_regs"

From: Jan Beulich
Date: Mon Aug 11 2014 - 05:31:32 EST


>>> On 11.08.14 at 11:07, <luto@xxxxxxxxxxxxxx> wrote:
> How does one test the entry CFI annotations? The best that I know of
> is to single-step through using gdb attached to qemu and see whether
> backtraces seem to work.

Or have the kernel generate a backtrace from a suitable location and
check that the backtrace is correct (of course provided you have Dwarf
stack unwinding support in your kernel).

Jan

--
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/