mirror of
https://github.com/tobast/libunwind-eh_elf.git
synced 2024-12-26 21:13:42 +01:00
(local_find_proc_info): New function.
(remote_find_proc_info): Ditto. }(Logical change 1.30)
This commit is contained in:
parent
ea3b3225d8
commit
13032ebce3
1 changed files with 0 additions and 25 deletions
|
@ -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
|
||||
}
|
Loading…
Reference in a new issue