From fbe40e537f82a111e2ea6a26ab5197c084c2de92 Mon Sep 17 00:00:00 2001 From: "hp.com!davidm" Date: Sat, 20 Dec 2003 11:20:42 +0000 Subject: [PATCH] (unw_word_t): Let the architecture-specific header take care of defining this type---it's needed very early on. (unw_proc_info_t): Add architecture-specific "extra" member. Empty for ia64, so no ABI change. Don't include libunwind-dynamic.h here. (Logical change 1.140) --- include/libunwind-common.h | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/include/libunwind-common.h b/include/libunwind-common.h index 0cc3fae8..730ae8d5 100644 --- a/include/libunwind-common.h +++ b/include/libunwind-common.h @@ -34,8 +34,6 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ # define UNW_PREFIX UNW_PASTE(UNW_PASTE(_U,UNW_TARGET),_) #endif /* !UNW_LOCAL_ONLY */ -typedef unw_tdep_word_t unw_word_t; - /* Error codes. The unwind routines return the *negated* values of these error codes on error and a non-negative value on success. */ typedef enum @@ -119,8 +117,9 @@ typedef struct unw_proc_info unw_word_t flags; /* misc. flags */ int format; /* unwind-info format (arch-specific) */ - int unwind_info_size; /* size of the informat (if applicable) */ + int unwind_info_size; /* size of the information (if applicable) */ void *unwind_info; /* unwind-info (arch-specific) */ + unw_tdep_proc_info_t extra; /* target-dependent auxiliary proc-info */ } unw_proc_info_t; @@ -196,8 +195,6 @@ typedef struct unw_save_loc } unw_save_loc_t; -#include - /* These routines work both for local and remote unwinding. */ extern unw_addr_space_t UNW_OBJ(local_addr_space);