libunwind/libunwind-1.0.1-ia64.diff

34 lines
1.2 KiB
Diff
Raw Normal View History

From 962366dace4fed902ad5e89df1b34c13c3224b8b Mon Sep 17 00:00:00 2001
From: Arun Sharma <asharma@fb.com>
Date: Fri, 23 Sep 2011 11:11:34 -0700
Subject: [PATCH] Fixup compile errors on ia64.
Suggested-by: Harald Servat <harald.servat@bsc.es>
---
src/ptrace/_UPT_get_dyn_info_list_addr.c | 2 +-
src/ptrace/_UPT_internal.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
--- a/src/ptrace/_UPT_get_dyn_info_list_addr.c
+++ b/src/ptrace/_UPT_get_dyn_info_list_addr.c
@@ -62,7 +62,7 @@ get_list_addr (unw_addr_space_t as, unw_word_t *dil_addr, void *arg,
Debug (16, "checking object %s\n", path);
- di = _UPTi_find_unwind_table (ui, as, path, lo, off);
+ di = _UPTi_find_unwind_table (ui, as, path, lo, off, 0);
if (di)
{
res = _Uia64_find_dyn_list (as, di, arg);
--- a/src/ptrace/_UPT_internal.h
+++ b/src/ptrace/_UPT_internal.h
@@ -64,7 +64,7 @@ struct UPT_info
extern int _UPT_reg_offset[UNW_REG_LAST + 1];
-extern int _UPTi_find_unwind_table (struct UPT_info *ui,
+extern unw_dyn_info_t *UPTi_find_unwind_table (struct UPT_info *ui,
unw_addr_space_t as,
char *path,
unw_word_t segbase,