1
0
Fork 0
mirror of https://github.com/tobast/libunwind-eh_elf.git synced 2024-11-15 20:58:13 +01:00

Drop argument names from prototypes to reduce namespace pollution.

Define libunwind routines such that it is possible to take their
addresses.

(Logical change 1.156)
This commit is contained in:
mostang.com!davidm 2004-01-21 01:05:07 +00:00
parent 64854d0d7c
commit 7915b799c8

View file

@ -164,24 +164,21 @@ typedef ucontext_t unw_tdep_context_t;
with malloc(), and should be free()d during the put_unwind_info() with malloc(), and should be free()d during the put_unwind_info()
callback. This routine is signal-safe for the local-address-space callback. This routine is signal-safe for the local-address-space
case ONLY. */ case ONLY. */
extern int UNW_OBJ(search_unwind_table) (unw_addr_space_t as, unw_word_t ip, #define unw_search_ia64_unwind_table UNW_OBJ(search_unwind_table)
unw_dyn_info_t *di, extern int unw_search_ia64_unwind_table (unw_addr_space_t, unw_word_t,
unw_proc_info_t *pi, unw_dyn_info_t *, unw_proc_info_t *,
int need_unwind_info, void *arg); int, void *);
#define unw_search_ia64_unwind_table(as,ip,di,pi,n,arg) \
UNW_OBJ(search_unwind_table)(as,ip,di,pi,n,arg)
/* This is a helper routine which the get_dyn_info_list_addr() /* This is a helper routine which the get_dyn_info_list_addr()
callback can use to locate the special dynamic-info list entry in callback can use to locate the special dynamic-info list entry in
an IA-64 unwind table. If the entry exists in the table, the an IA-64 unwind table. If the entry exists in the table, the
list-address is returned. In all other cases, 0 is returned. */ list-address is returned. In all other cases, 0 is returned. */
extern unw_word_t _Uia64_find_dyn_list (unw_addr_space_t as, extern unw_word_t _Uia64_find_dyn_list (unw_addr_space_t, unw_dyn_info_t *,
unw_dyn_info_t *di, void *);
void *arg);
/* This is a helper routine to obtain the kernel-unwind info. It is /* This is a helper routine to obtain the kernel-unwind info. It is
signal-safe. */ signal-safe. */
extern int _Uia64_get_kernel_table (unw_dyn_info_t *di); extern int _Uia64_get_kernel_table (unw_dyn_info_t *);
#if defined(__cplusplus) || defined(c_plusplus) #if defined(__cplusplus) || defined(c_plusplus)
} }