1
0
Fork 0
mirror of https://github.com/tobast/libunwind-eh_elf.git synced 2025-03-31 19:42:17 +02:00

ARM: tests/Gtest-trace.c - IP printing

Print the instruction pointer on ARM as well.

Signed-off-by: Ken Werner <ken.werner@linaro.org>
This commit is contained in:
Ken Werner 2011-04-06 10:36:49 +02:00
parent d589e20506
commit a624812e2a

View file

@ -211,6 +211,8 @@ sighandler (int signal, void *siginfo, void *context)
#elif defined __FreeBSD__
printf (" @ %lx", (unsigned long) uc->uc_mcontext.mc_rip);
#endif
#elif defined UNW_TARGET_ARM
printf (" @ %lx", (unsigned long) uc->uc_mcontext.arm_ip);
#endif
printf ("\n");
}