mirror of
https://github.com/tobast/libunwind-eh_elf.git
synced 2024-11-26 17:17:39 +01:00
(unwi_put_dynamic_unwind_info): Don't call unwi_dyn_remote_put_unwind_info() when
dealing with the local address space. (Logical change 1.45)
This commit is contained in:
parent
aeb517ff8a
commit
52b17e2b37
1 changed files with 7 additions and 0 deletions
|
@ -32,7 +32,14 @@ unwi_put_dynamic_unwind_info (unw_addr_space_t as, unw_proc_info_t *pi,
|
|||
switch (pi->format)
|
||||
{
|
||||
case UNW_INFO_FORMAT_DYNAMIC:
|
||||
#ifndef UNW_LOCAL_ONLY
|
||||
# ifdef UNW_REMOTE_ONLY
|
||||
unwi_dyn_remote_put_unwind_info (as, pi, arg);
|
||||
# else
|
||||
if (as != unw_local_addr_space)
|
||||
unwi_dyn_remote_put_unwind_info (as, pi, arg);
|
||||
# endif
|
||||
#endif
|
||||
break;
|
||||
|
||||
case UNW_INFO_FORMAT_TABLE:
|
||||
|
|
Loading…
Reference in a new issue