mirror of
https://github.com/tobast/libunwind-eh_elf.git
synced 2025-02-02 04:52:53 +01:00
(tdep_find_proc_info): Declare it as a regular object (not arch-obj).
(tdep_uc_addr): Likewise. (tdep_put_unwind_info): Define only if not UNW_LOCAL_ONLY. (unw): Declare as regular object. (Logical change 1.151)
This commit is contained in:
parent
fa6ca5610d
commit
9b52d39425
1 changed files with 8 additions and 6 deletions
|
@ -191,16 +191,18 @@ struct ia64_global_unwind_state
|
|||
/* Platforms that support UNW_INFO_FORMAT_TABLE need to define
|
||||
tdep_search_unwind_table. */
|
||||
#define tdep_search_unwind_table(a,b,c,d,e,f) \
|
||||
_Uia64_search_unwind_table (a, b, c, d, e, f)
|
||||
#define tdep_find_proc_info(as,ip,pi,n,a) \
|
||||
UNW_ARCH_OBJ(find_proc_info) (as, ip, pi, n, a)
|
||||
#define tdep_put_unwind_info(a,b,c) UNW_ARCH_OBJ(put_unwind_info)(a, b, c)
|
||||
#define tdep_uc_addr(uc,reg) UNW_ARCH_OBJ(uc_addr)(uc, reg)
|
||||
UNW_OBJ(search_unwind_table) (a, b, c, d, e, f)
|
||||
#define tdep_find_proc_info UNW_OBJ(find_proc_info)
|
||||
#define tdep_uc_addr(uc,reg) UNW_OBJ(uc_addr)(uc, reg)
|
||||
#define tdep_get_elf_image(a,b,c,d,e) UNW_ARCH_OBJ(get_elf_image) (a, b, c, \
|
||||
d, e)
|
||||
#ifndef UNW_LOCAL_ONLY
|
||||
# define tdep_put_unwind_info(a,b,c) UNW_OBJ(put_unwind_info)(a, b, c)
|
||||
#endif
|
||||
|
||||
#define tdep_debug_level unw.debug_level
|
||||
|
||||
#define unw UNW_ARCH_OBJ(data)
|
||||
#define unw UNW_OBJ(data)
|
||||
|
||||
extern int tdep_find_proc_info (unw_addr_space_t as, unw_word_t ip,
|
||||
unw_proc_info_t *pi, int need_unwind_info,
|
||||
|
|
Loading…
Reference in a new issue