From 84bd124a24c69664f727048671dde893382b3128 Mon Sep 17 00:00:00 2001 From: "hp.com!davidm" Date: Fri, 20 May 2005 12:47:59 +0000 Subject: [PATCH] (inlined_uc_addr): Remove UNW_IA64_AR_BSP. We no longer need this ugly hack since the initial BSP is now passed directly into common_init(). (Logical change 1.296) --- src/ia64/unwind_i.h | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/ia64/unwind_i.h b/src/ia64/unwind_i.h index a9a68e81..46439752 100644 --- a/src/ia64/unwind_i.h +++ b/src/ia64/unwind_i.h @@ -73,13 +73,6 @@ inlined_uc_addr (ucontext_t *uc, int reg, uint8_t *nat_bitnr) case UNW_IA64_AR_LC: addr = &uc->uc_mcontext.sc_ar_lc; break; case UNW_IA64_AR_FPSR: addr = &uc->uc_mcontext.sc_ar_fpsr; break; case UNW_IA64_PR: addr = &uc->uc_mcontext.sc_pr; break; - /* This may look confusing, but it's correct: AR_BSPSTORE needs - to return the address past the last word written, which is - stored in sc_ar_bsp. On the other hand, AR_BSP needs to - return the address that was in ar.bsp at the time the context - was captured. As described in unw_init_local(), sc_ar_bsp is - (ab-)used for this purpose. */ - case UNW_IA64_AR_BSP: addr = &uc->uc_mcontext.sc_rbs_base; break; case UNW_IA64_AR_BSPSTORE: addr = &uc->uc_mcontext.sc_ar_bsp; break; case UNW_IA64_GR + 4 ... UNW_IA64_GR + 7: