[PATCH 6/9] unwind: allow to specify unwinder back-end with -k option
Dmitry V. Levin
ldv at altlinux.org
Fri Mar 16 15:17:48 UTC 2018
On Wed, Mar 14, 2018 at 02:28:11AM +0900, Masatake YAMATO wrote:
> With this commit, -k option can take an optional argument
> specifying unwinder like:
>
> $ strace -klibunwind ...
I've actually tried to play with this, and the first obstacle is
that this commit introduces a compilation warning:
strace.c: In function 'init':
strace.c:1795:3: error: 'unwinder_name' may be used uninitialized in this function [-Werror=maybe-uninitialized]
unwind_init(unwinder_name);
^~~~~~~~~~~~~~~~~~~~~~~~~~
It turns into an error when strace build is configured with
--enable-gcc-Werror, which is the right thing to do when developing
on up to date platforms.
--
ldv
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: not available
URL: <http://lists.strace.io/pipermail/strace-devel/attachments/20180316/42c4a138/attachment.bin>
More information about the Strace-devel
mailing list