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:
parent
d589e20506
commit
a624812e2a
1 changed files with 2 additions and 0 deletions
|
@ -211,6 +211,8 @@ sighandler (int signal, void *siginfo, void *context)
|
||||||
#elif defined __FreeBSD__
|
#elif defined __FreeBSD__
|
||||||
printf (" @ %lx", (unsigned long) uc->uc_mcontext.mc_rip);
|
printf (" @ %lx", (unsigned long) uc->uc_mcontext.mc_rip);
|
||||||
#endif
|
#endif
|
||||||
|
#elif defined UNW_TARGET_ARM
|
||||||
|
printf (" @ %lx", (unsigned long) uc->uc_mcontext.arm_ip);
|
||||||
#endif
|
#endif
|
||||||
printf ("\n");
|
printf ("\n");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue