1
0
Fork 0
mirror of https://github.com/tobast/libunwind-eh_elf.git synced 2025-01-07 09:53:42 +01:00

Bug in find proc info was fixed

This commit is contained in:
Alexander Esilevich 2010-09-15 01:10:57 +07:00
parent 283db4d970
commit 1d7baedb86

View file

@ -138,8 +138,7 @@ search_fde_in_eh_frame(unw_word_t ip, unw_word_t hdr_addr, unw_word_t gp,
{
int err;
size_t table_len = (fde_count * sizeof (struct table_entry)
/ sizeof (unw_word_t));
size_t table_len = (fde_count * sizeof (struct table_entry));
/* For the binary-search table in the eh_frame_hdr, data-relative
means relative to the start of that section... */
unw_word_t sbase = (unw_word_t) (uintptr_t) hdr;