From 6ea8ff61e062d0f8eab3122b4db98166b1226976 Mon Sep 17 00:00:00 2001 From: "hp.com!davidm" Date: Sat, 24 Jan 2004 07:22:30 +0000 Subject: [PATCH] (unw_set_caching_policy): Make it a regular object, not an arch-object. It can't be the latter because it needs to initialize libunwind if it's the first call to libunwind. (Logical change 1.160) --- include/libunwind-common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/libunwind-common.h b/include/libunwind-common.h index a3a0b1cc..e1d47be5 100644 --- a/include/libunwind-common.h +++ b/include/libunwind-common.h @@ -214,8 +214,8 @@ unw_save_loc_t; #define unw_get_save_loc UNW_OBJ(get_save_loc) #define unw_is_signal_frame UNW_OBJ(is_signal_frame) #define unw_get_proc_name UNW_OBJ(get_proc_name) +#define unw_set_caching_policy UNW_OBJ(set_caching_policy) #define unw_regname UNW_ARCH_OBJ(regname) -#define unw_set_caching_policy UNW_ARCH_OBJ(set_caching_policy) #define unw_flush_cache UNW_ARCH_OBJ(flush_cache) extern unw_addr_space_t unw_create_addr_space (unw_accessors_t *, int);