libunwind-devel
[Top][All Lists]
Advanced

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

[Libunwind-devel] [PATCH 2/3] Exclude arm_find_proc_info and arm_put_unw


From: Ken Werner
Subject: [Libunwind-devel] [PATCH 2/3] Exclude arm_find_proc_info and arm_put_unwind_info in case of UNW_REMOTE_ONLY
Date: Thu, 13 Oct 2011 17:42:05 +0200

Signed-off-by: Ken Werner <address@hidden>
---
 src/arm/Gex_tables.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/arm/Gex_tables.c b/src/arm/Gex_tables.c
index 70ab57c..4352b0b 100644
--- a/src/arm/Gex_tables.c
+++ b/src/arm/Gex_tables.c
@@ -453,6 +453,7 @@ tdep_search_unwind_table (unw_addr_space_t as, unw_word_t 
ip,
   return -UNW_ENOINFO; 
 }
 
+#ifndef UNW_REMOTE_ONLY
 /**
  * Callback to dl_iterate_phdr to find infos about the ARM exidx segment.
  */
@@ -564,4 +565,5 @@ arm_put_unwind_info (unw_addr_space_t as, unw_proc_info_t 
*proc_info, void *arg)
 {
   /* it's a no-op */
 }
+#endif /* !UNW_REMOTE_ONLY */
 
-- 
1.7.4.1




reply via email to

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