public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
From: Jan Kratochvil <jan.kratochvil@redhat.com>
To: Ahmad Nouralizadeh <ahmad.mlists@gmail.com>
Cc: gdb@sourceware.org
Subject: Re: GDB Frame Unwinding for Pure Assembly Code
Date: Mon, 22 Jun 2020 23:39:56 +0200	[thread overview]
Message-ID: <20200622213956.GA3486027@host1.jankratochvil.net> (raw)
In-Reply-To: <CAMYFX7nfZJV_a2RCGw+K_6S1qr1Tmxz1eJg2NUw8TK1MjGNT-g@mail.gmail.com>

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


  reply	other threads:[~2020-06-22 21:40 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-22 21:29 Ahmad Nouralizadeh
2020-06-22 21:39 ` Jan Kratochvil [this message]
2020-06-22 21:55   ` Ahmad Nouralizadeh
2020-06-23  7:26     ` Jan Kratochvil
2020-06-23 11:48       ` Ahmad Nouralizadeh
2020-06-23 12:23         ` Jan Kratochvil
2020-06-23 14:23           ` Ahmad Nouralizadeh
2020-06-24 14:00         ` Simon Marchi
2020-06-24 19:09           ` Ahmad Nouralizadeh
2020-06-24 15:06         ` Andrew Burgess
2020-06-25  9:10           ` Ahmad Nouralizadeh
2020-06-25 16:51             ` Andrew Burgess
2020-06-26 11:33               ` Ahmad Nouralizadeh

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200622213956.GA3486027@host1.jankratochvil.net \
    --to=jan.kratochvil@redhat.com \
    --cc=ahmad.mlists@gmail.com \
    --cc=gdb@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).