1
0
Fork 0
mirror of https://github.com/tobast/libunwind-eh_elf.git synced 2024-11-29 18:27:37 +01:00

(local_find_proc_info): New function.

(remote_find_proc_info): Ditto.

}(Logical change 1.30)
This commit is contained in:
mostang.com!davidm 2002-12-12 09:17:41 +00:00
parent ea3b3225d8
commit 13032ebce3

View file

@ -1,25 +0,0 @@
#include <stdio.h>
#include <libunwind.h>
#include "dyn-common.h"
int
unw_find_dynamic_proc_info (unw_addr_space_t as, unw_word_t ip,
unw_proc_info_t *pi, void *arg)
{
extern unw_dyn_info_list_t _U_dyn_info_list;
#ifdef UNW_LOCAL_ONLY
return find_proc_info (as, ip, pi, arg, &_U_dyn_info_list);
#else
# ifdef UNW_REMOTE_ONLY
return remote_find_proc_info (as, ip, pi, arg);
# else
if (as == unw_local_addr_space)
return find_proc_info (as, ip, pi, arg, &_U_dyn_info_list);
else
return remote_find_proc_info (as, ip, pi, arg);
# endif
#endif
}