[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Libunwind-devel] [PATCH 3/8] IA64: use tdep_find_unwind_table() in core
From: |
Tommi Rantala |
Subject: |
[Libunwind-devel] [PATCH 3/8] IA64: use tdep_find_unwind_table() in coredump lib |
Date: |
Tue, 31 Jul 2012 23:06:29 +0300 |
Fixup commit d93d96ad833390519ea68a2df22dd55dd26a3214 ("Fix compilation
on IA64"), and replace the dwarf_find_unwind_table() call with
tdep_find_unwind_table().
Fixes linkage error on IA64:
../src/.libs/libunwind-coredump.so: undefined reference to
`dwarf_find_unwind_table'
---
src/coredump/_UCD_find_proc_info.c | 4 ++--
src/coredump/_UPT_get_dyn_info_list_addr.c | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/coredump/_UCD_find_proc_info.c
b/src/coredump/_UCD_find_proc_info.c
index b727ea9..dc4365e 100644
--- a/src/coredump/_UCD_find_proc_info.c
+++ b/src/coredump/_UCD_find_proc_info.c
@@ -68,9 +68,9 @@ get_unwind_info(struct UCD_info *ui, unw_addr_space_t as,
unw_word_t ip)
/* Here, SEGBASE is the starting-address of the (mmap'ped) segment
which covers the IP we're looking for. */
- if (dwarf_find_unwind_table(&ui->edi, as, phdr->backing_filename, segbase,
mapoff, ip) < 0)
+ if (tdep_find_unwind_table(&ui->edi, as, phdr->backing_filename, segbase,
mapoff, ip) < 0)
{
- Debug(1, "%s returns error: dwarf_find_unwind_table failed\n", __func__);
+ Debug(1, "%s returns error: tdep_find_unwind_table failed\n", __func__);
return -UNW_ENOINFO;
}
diff --git a/src/coredump/_UPT_get_dyn_info_list_addr.c
b/src/coredump/_UPT_get_dyn_info_list_addr.c
index f1e6568..c245ac1 100644
--- a/src/coredump/_UPT_get_dyn_info_list_addr.c
+++ b/src/coredump/_UPT_get_dyn_info_list_addr.c
@@ -56,7 +56,7 @@ get_list_addr (unw_addr_space_t as, unw_word_t *dil_addr,
void *arg,
Debug (16, "checking object %s\n", path);
- di = dwarf_find_unwind_table (&ui->edi, as, path, lo, off);
+ di = tdep_find_unwind_table (&ui->edi, as, path, lo, off);
if (di)
{
res = _Uia64_find_dyn_list (as, di, arg);
--
1.7.9.5
- [Libunwind-devel] [PATCH 0/8] misc fixes, Tommi Rantala, 2012/07/31
- [Libunwind-devel] [PATCH 1/8] Rip out AC_TYPE_SIGNAL and sighandler_t check, Tommi Rantala, 2012/07/31
- [Libunwind-devel] [PATCH 3/8] IA64: use tdep_find_unwind_table() in coredump lib,
Tommi Rantala <=
- [Libunwind-devel] [PATCH 2/8] Allow IA64 cross-compilation, Tommi Rantala, 2012/07/31
- [Libunwind-devel] [PATCH 4/8] Fix --enable-debug-frame build, Tommi Rantala, 2012/07/31
- [Libunwind-devel] [PATCH 5/8] IA64: `ent' needed conditionally in Gtables.c, Tommi Rantala, 2012/07/31
- [Libunwind-devel] [PATCH 6/8] Fix IP vs. PC confusion in tests on ARM, Tommi Rantala, 2012/07/31
- [Libunwind-devel] [PATCH 7/8] Use unw_context_t instead of ucontext_t in tests/Gtest-trace.c and tests/Gtest-bt.c, Tommi Rantala, 2012/07/31
- [Libunwind-devel] [PATCH 8/8] Fix typo in unw_get_proc_name documentation, Tommi Rantala, 2012/07/31