libunwind-devel
[Top][All Lists]
Advanced

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

[Libunwind-devel] Need help: libunwind on ARMv5


From: Andrei Erofeev
Subject: [Libunwind-devel] Need help: libunwind on ARMv5
Date: Thu, 27 Oct 2016 14:28:26 +0300

Hello,

 

                First of all - Thanks you all for the cool product - libunwind!

 

                I have a question and hope that your answer helps me to solve a problem I stuck with.

 

I use a board with ARMv5 architecture (ARM926EJ-S). I have Linux OS and a C++ application running on that board type.  The problem is that I am not able to get backtraces in case of abort() and exceptions which cause abort(). If I use kill(getpid(0, SIGABRT) I get correct backtraces. The problem is well known. So I use libunwind and works if I execute the application on an ARMv6 board. But in case of ARMv5 it does not work for me. I cannot get the whole traces. I tried to change methods and it fails (I’ve attached the log).

 

                I use Libunwind version 1.1.

 

More info about CPU used on the board:

# cat /proc/cpuinfo

processor       : 0

model name      : ARM926EJ-S rev 5 (v5l)

BogoMIPS        : 198.76

Features        : swp half thumb fastmult edsp java

CPU implementer : 0x41

CPU architecture: 5TEJ

CPU variant     : 0x0

CPU part        : 0x926

CPU revision    : 5

Hardware        : Atmel AT91SAM (Device Tree)

 

I have a small app just to test backtrace functionality in case of abort()/throw. I’ve attached test1.c.

 

I do compilation using:

arm-buildroot-linux-gnueabi-g++ --std=c++11 -funwind-tables  -mapcs-frame -rdynamic test1.c  -lunwind -o test1

 

 

Thanks in advance,

Andrey

 

Attachment: unw_methods.txt
Description: Text document

Attachment: test1.c
Description: Binary data


reply via email to

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