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:
parent
9c23f9c408
commit
4ca42d4a0c
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue