mirror of
https://github.com/tobast/libunwind-eh_elf.git
synced 2024-11-27 09:37:38 +01:00
(free_dyn_info): Handle UNW_INFO_FORMAT_REMOTE_TABLE.
(intern_dyn_info): Likewise. (Logical change 1.126)
This commit is contained in:
parent
0976af5f9f
commit
13147e5e9c
1 changed files with 9 additions and 0 deletions
|
@ -144,6 +144,7 @@ free_dyn_info (unw_dyn_info_t *di)
|
|||
}
|
||||
break;
|
||||
|
||||
case UNW_INFO_FORMAT_REMOTE_TABLE:
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
@ -180,6 +181,14 @@ intern_dyn_info (unw_addr_space_t as, unw_accessors_t *a,
|
|||
goto out;
|
||||
break;
|
||||
|
||||
case UNW_INFO_FORMAT_REMOTE_TABLE:
|
||||
if ((ret = fetchw (as, a, addr, &di->u.rti.name_ptr, arg)) < 0
|
||||
|| (ret = fetchw (as, a, addr, &di->u.rti.segbase, arg)) < 0
|
||||
|| (ret = fetchw (as, a, addr, &di->u.rti.table_len, arg)) < 0
|
||||
|| (ret = fetchw (as, a, addr, &di->u.rti.table_data, arg)) < 0)
|
||||
goto out;
|
||||
break;
|
||||
|
||||
default:
|
||||
ret = -UNW_ENOINFO;
|
||||
goto out;
|
||||
|
|
Loading…
Reference in a new issue