1
0
Fork 0
mirror of https://github.com/tobast/libunwind-eh_elf.git synced 2024-12-23 20:03:43 +01:00

(_Uia64_get_kernel_table): Only call get_kernel_table() if we do not already

have the kernel table.

(Logical change 1.188)
This commit is contained in:
hp.com!davidm 2004-03-27 01:25:56 +00:00
parent e8be590f3d
commit 53a56cb759

View file

@ -347,7 +347,10 @@ get_kernel_table (unw_dyn_info_t *di)
PROTECTED int
_Uia64_get_kernel_table (unw_dyn_info_t *di)
{
return get_kernel_table (di);
if (kernel_table.u.ti.table_data)
return kernel_table.u.ti.table_data;
else
return get_kernel_table (di);
}
PROTECTED unw_word_t