libunwind-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Libunwind-devel] [PATCH] [MIPS] Stack-unwinding through signal fram


From: Arun Sharma
Subject: Re: [Libunwind-devel] [PATCH] [MIPS] Stack-unwinding through signal frames
Date: Tue, 17 Mar 2015 18:40:47 -0700

On Tue, Mar 17, 2015 at 10:40 AM, Faraz Shahbazker
<address@hidden> wrote:
> On 03/16/2015 09:17 PM, Arun Sharma wrote:
>> On Mon, Mar 16, 2015 at 1:13 PM,  <address@hidden> wrote:
>>> From: Faraz Shahbazker <address@hidden>
>>>
>>> Detect if current frame is a signal frame by checking for preceeding
>>> syscall instruction. For signal frames, update the cursor correctly
>>> from user context before calling dwarf_step.
>>
>> Is the dwarf CIE augmentation string unusable on mips?
>
> I am not sure. If you could please point me to another architecture that uses 
> CIE string for detecting signal frames, I will check if that approach works 
> for mips.
>

http://git.savannah.gnu.org/cgit/libunwind.git/tree/src/dwarf/Gfde.c#n191
http://git.savannah.gnu.org/cgit/libunwind.git/tree/src/x86_64/Gos-linux.c#n39

Assumes your libc has the .cfi_signal_frame annotations in the right
places. For eg:

http://sourceware.org/ml/libc-ports/2012-06/msg00012.html

 -Arun



reply via email to

[Prev in Thread] Current Thread [Next in Thread]