1
0
Fork 0
mirror of https://github.com/tobast/libunwind-eh_elf.git synced 2024-11-18 05:47:39 +01:00

(get_unwind_info): _Only call _Uia64_get_kernel_table() on Linux.

(Logical change 1.75)
This commit is contained in:
mostang.com!davidm 2003-04-03 07:59:15 +00:00
parent 9c23f9c408
commit 4ca42d4a0c

View file

@ -167,7 +167,7 @@ get_unwind_info (struct UPT_info *ui, unw_addr_space_t as, unw_word_t ip)
char path[PATH_MAX];
unw_dyn_info_t *di;
#if UNW_TARGET_IA64
#if UNW_TARGET_IA64 && defined(__linux)
if (!ui->ktab.start_ip && _Uia64_get_kernel_table (&ui->ktab) < 0)
return NULL;