Fixes a linker error with ltrace:

| .../libunwind-ptrace.a(_UPT_find_proc_info.o): In function `get_unwind_info':
| .../_UPT_find_proc_info.c:419: undefined reference to 
`_UPTi_find_unwind_table'

c.f. http://lists.gnu.org/archive/html/libunwind-devel/2010-11/msg00012.html
---
 src/ptrace/_UPT_find_proc_info.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/ptrace/_UPT_find_proc_info.c b/src/ptrace/_UPT_find_proc_info.c
index ee0b698..2123447 100644
--- a/src/ptrace/_UPT_find_proc_info.c
+++ b/src/ptrace/_UPT_find_proc_info.c
@@ -147,7 +147,7 @@ _UPTi_find_unwind_table (struct UPT_info *ui, 
unw_addr_space_t as,
 }
 
 #elif UNW_TARGET_X86 || UNW_TARGET_X86_64 || UNW_TARGET_HPPA \
-|| UNW_TARGET_PPC32 || UNW_TARGET_PPC64 || UNW_TARGET_ARM
+|| UNW_TARGET_PPC32 || UNW_TARGET_PPC64 || UNW_TARGET_ARM || UNW_TARGET_MIPS
 
 #include "dwarf-eh.h"
 #include "dwarf_i.h"
-- 
1.7.5.4


_______________________________________________
Libunwind-devel mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/libunwind-devel

Reply via email to