From 4ca42d4a0c6bf362cf5b0e728af95f2477fd0efe Mon Sep 17 00:00:00 2001 From: "mostang.com!davidm" Date: Thu, 3 Apr 2003 07:59:15 +0000 Subject: [PATCH] (get_unwind_info): _Only call _Uia64_get_kernel_table() on Linux. (Logical change 1.75) --- src/_UPT_find_proc_info.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/_UPT_find_proc_info.c b/src/_UPT_find_proc_info.c index 217c59a2..46e6a8c6 100644 --- a/src/_UPT_find_proc_info.c +++ b/src/_UPT_find_proc_info.c @@ -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;