mailing list of musl libc
 help / color / mirror / code / Atom feed
From: Alex Dowad <alexinbeijing@gmail.com>
To: musl@lists.openwall.com
Subject: Re: [PATCH] generate debug_frame info for __syscall_cp_asm (i386) so gdb can get backtrace
Date: Wed, 29 Apr 2015 18:51:29 +0200	[thread overview]
Message-ID: <20150429165129.GA15839@alex-ThinkPad-L530> (raw)

On Wed, 29 Apr 2015 11:57:03 -0400, Rich Felkner wrote:
> It would be either sed or awk most likely. Plain shell would work for
> writing it too but would probably be uglier, and sed is already
> required anyway for alltypes.h generation. If any new tool were
> required (unlikely) then configure would just detect its absence and
> turn off cfi generation for asm if it's missing/broken.

I can try coding up an awk script if you like (no sed, sorry). It will be a
filter which the asm passes through to add the .cfi_* directives. Does that
sound good?

(I really, really hope you weren't looking for an awk/sed script which takes
asm as input and generates a DWARF file as output...)

Regards, AD


             reply	other threads:[~2015-04-29 16:51 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-29 16:51 Alex Dowad [this message]
2015-04-29 17:03 ` Rich Felker
  -- strict thread matches above, loose matches on Subject: below --
2015-04-29 14:46 Alex Dowad
2015-04-27 11:32 Alex Dowad
2015-04-27 20:57 ` Rich Felker
2015-04-29  7:46   ` Timo Teras
2015-04-29 13:23     ` Rich Felker

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=20150429165129.GA15839@alex-ThinkPad-L530 \
    --to=alexinbeijing@gmail.com \
    --cc=musl@lists.openwall.com \
    /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.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

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 NNTP newsgroup(s).