GDB Frame Unwinding for Pure Assembly Code

Jan Kratochvil
Mon Jun 22 21:39:56 GMT 2020

On Mon, 22 Jun 2020 23:29:01 +0200, Ahmad Nouralizadeh via Gdb wrote:
> Perf copies stack contents during execution and uses
> libunwind to unwind the backtraces in a post-process phase.

perf can use also elfutils unwinder by a compile time option.
IIRC someone was implementing non-DWARF unwinder for elfutils but not sure if
it got upstreamed or not.  You can try also the elfutils unwinder.

as has .cfi_startproc to generate .eh_frame, doesn't nasm also have some such?


More information about the Gdb mailing list