1
0
Fork 0
mirror of https://github.com/tobast/libunwind-eh_elf.git synced 2024-11-22 23:47: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:
mostang.com!davidm 2003-02-08 10:10:59 +00:00
parent aeb517ff8a
commit 52b17e2b37

View file

@ -32,7 +32,14 @@ unwi_put_dynamic_unwind_info (unw_addr_space_t as, unw_proc_info_t *pi,
switch (pi->format) switch (pi->format)
{ {
case UNW_INFO_FORMAT_DYNAMIC: case UNW_INFO_FORMAT_DYNAMIC:
#ifndef UNW_LOCAL_ONLY
# ifdef UNW_REMOTE_ONLY
unwi_dyn_remote_put_unwind_info (as, pi, arg); 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; break;
case UNW_INFO_FORMAT_TABLE: case UNW_INFO_FORMAT_TABLE: