Re: GDB Frame Unwinding for Pure Assembly Code
Jan Kratochvil via Gdb <[email protected]>
| Newsgroups | gmane.comp.gdb.devel |
|---|---|
| Message-ID | <[email protected]> |
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? Jan