From 1fd74a4332c5e38bbddd8a2253dd329d5300c092 Mon Sep 17 00:00:00 2001 From: "mostang.com!davidm" Date: Tue, 20 Jan 2004 23:32:28 +0000 Subject: [PATCH] (ia64_uc_access_reg): Define only if not UNW_LOCAL_ONLY is defined. (ia64_uc_access_fpreg): Likewise. (Logical change 1.154) --- src/ia64/Ginit-ia64.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/ia64/Ginit-ia64.c b/src/ia64/Ginit-ia64.c index 89d07673..80042703 100644 --- a/src/ia64/Ginit-ia64.c +++ b/src/ia64/Ginit-ia64.c @@ -1,5 +1,5 @@ /* libunwind - a platform-independent unwind library - Copyright (C) 2001-2003 Hewlett-Packard Co + Copyright (C) 2001-2004 Hewlett-Packard Co Contributed by David Mosberger-Tang This file is part of libunwind. @@ -447,6 +447,8 @@ ia64_local_addr_space_init (void) #endif /* !UNW_REMOTE_ONLY */ +#ifndef UNW_LOCAL_ONLY + HIDDEN int ia64_uc_access_reg (struct cursor *c, ia64_loc_t loc, unw_word_t *valp, int write) @@ -571,3 +573,5 @@ ia64_uc_access_fpreg (struct cursor *c, ia64_loc_t loc, unw_fpreg_t *valp, return -UNW_EINVAL; #endif /* !HAVE_SYS_UC_ACCESS_H */ } + +#endif /* UNW_LOCAL_ONLY */