On Tue, Mar 17, 2015 at 10:40 AM, Faraz Shahbazker
<[email protected]> wrote:
> On 03/16/2015 09:17 PM, Arun Sharma wrote:
>> On Mon, Mar 16, 2015 at 1:13 PM,  <[email protected]> wrote:
>>> From: Faraz Shahbazker <[email protected]>
>>>
>>> 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

_______________________________________________
Libunwind-devel mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/libunwind-devel

Reply via email to