Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date: Wed, 29 Apr 2015 18:51:29 +0200
From: Alex Dowad <alexinbeijing@...il.com>
To: musl@...ts.openwall.com
Subject: Re: [PATCH] generate debug_frame info for __syscall_cp_asm (i386) so
 gdb can get backtrace

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

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.