From 53a56cb759a4fcc042128d95724790103f458ece Mon Sep 17 00:00:00 2001 From: "hp.com!davidm" Date: Sat, 27 Mar 2004 01:25:56 +0000 Subject: [PATCH] (_Uia64_get_kernel_table): Only call get_kernel_table() if we do not already have the kernel table. (Logical change 1.188) --- src/ia64/Gtables-ia64.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/ia64/Gtables-ia64.c b/src/ia64/Gtables-ia64.c index 731e2983..c16b928d 100644 --- a/src/ia64/Gtables-ia64.c +++ b/src/ia64/Gtables-ia64.c @@ -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