[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Libunwind-devel] libunwind with LD_PRELOAD option
From: |
Arun Sharma |
Subject: |
Re: [Libunwind-devel] libunwind with LD_PRELOAD option |
Date: |
Tue, 6 Sep 2011 12:26:37 -0700 |
On Tue, Sep 6, 2011 at 11:33 AM, Shan Shan
<address@hidden> wrote:
> It works fine and even unwinds stack properly :-). This unit test app was
> crashing before even when i just link with -lunwind. Is this something
> specific to "-funwind-tables" option? Do all app needs to be compiled with
> this option? or may be out of the 4 options tried by libunwind (arm) only
> this option is stable?
If you want to get a backtrace at *any* instruction in the program,
yes you should use -funwind-tables. Otherwise, gcc generates enough
information only from call/return sites.
Usually, the challenge is to make sure that everything linked to your
target binary is compiled with the desired options.
-Arun
- Re: [Libunwind-devel] libunwind with LD_PRELOAD option, (continued)
- Re: [Libunwind-devel] libunwind with LD_PRELOAD option, Arun Sharma, 2011/09/05
- Re: [Libunwind-devel] libunwind with LD_PRELOAD option, Shan Shan, 2011/09/06
- Re: [Libunwind-devel] libunwind with LD_PRELOAD option, Shan Shan, 2011/09/06
- Re: [Libunwind-devel] libunwind with LD_PRELOAD option, Arun Sharma, 2011/09/06
- Re: [Libunwind-devel] libunwind with LD_PRELOAD option, Shan Shan, 2011/09/06
- Re: [Libunwind-devel] libunwind with LD_PRELOAD option, Arun Sharma, 2011/09/06
- Re: [Libunwind-devel] libunwind with LD_PRELOAD option, Shan Shan, 2011/09/06
- Re: [Libunwind-devel] libunwind with LD_PRELOAD option,
Arun Sharma <=
- Re: [Libunwind-devel] libunwind with LD_PRELOAD option, Ken Werner, 2011/09/07
- Re: [Libunwind-devel] libunwind with LD_PRELOAD option, Ken Werner, 2011/09/07
- Re: [Libunwind-devel] libunwind with LD_PRELOAD option, Shan Shan, 2011/09/07
- Re: [Libunwind-devel] libunwind with LD_PRELOAD option, Ken Werner, 2011/09/07
- Re: [Libunwind-devel] libunwind with LD_PRELOAD option, Shan Shan, 2011/09/07