[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Libunwind-devel] [PATCH 2/5] ARM: tests/Gtest-trace.c - IP printing
From: |
Ken Werner |
Subject: |
[Libunwind-devel] [PATCH 2/5] ARM: tests/Gtest-trace.c - IP printing |
Date: |
Thu, 21 Apr 2011 17:52:39 +0200 |
Print the instruction pointer on ARM as well.
Signed-off-by: Ken Werner <address@hidden>
---
tests/Gtest-trace.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/tests/Gtest-trace.c b/tests/Gtest-trace.c
index 311848f..b4c0bfc 100644
--- a/tests/Gtest-trace.c
+++ b/tests/Gtest-trace.c
@@ -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");
}
--
1.7.4.1
- [Libunwind-devel] [PATCH 0/5] ARM: initial support for local unw_resume and minor fixes, Ken Werner, 2011/04/21
- [Libunwind-devel] [PATCH 2/5] ARM: tests/Gtest-trace.c - IP printing,
Ken Werner <=
- [Libunwind-devel] [PATCH 4/5] ARM: tests/Gtest-dyn1.c workaround for GCC bug., Ken Werner, 2011/04/21
- [Libunwind-devel] [PATCH 3/5] ARM: tests/Gtest-dyn1.c fixes., Ken Werner, 2011/04/21
- [Libunwind-devel] [PATCH 1/5] Add the appropriate libraries to the *_LDADD variables., Ken Werner, 2011/04/21
- [Libunwind-devel] [PATCH 5/5] Add initial support for local unw_resume on ARM Linux., Ken Werner, 2011/04/21
- Re: [Libunwind-devel] [PATCH 0/5] ARM: initial support for local unw_resume and minor fixes, Arun Sharma, 2011/04/21