1
0
Fork 0
mirror of https://github.com/tobast/libunwind-eh_elf.git synced 2024-11-02 08:09:27 +01:00

(free_dyn_info): Handle UNW_INFO_FORMAT_REMOTE_TABLE.

(intern_dyn_info): Likewise.

(Logical change 1.126)
This commit is contained in:
hp.com!davidm 2003-11-25 22:33:49 +00:00
parent 0976af5f9f
commit 13147e5e9c

View file

@ -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;