/* libunwind - a platform-independent unwind library
Copyright (C) 2002-2005 Hewlett-Packard Co
- Contributed by David Mosberger-Tang <davidm@hpl.hp.com>
+ Contributed by David Mosberger-Tang <davidm@hpl.hp.com>
This file is part of libunwind.
/* ensure cache doesn't have any stale contents: */
ia64_validate_cache (c->as, c->as_arg);
- c->cfm_loc = IA64_REG_LOC (c, UNW_IA64_CFM);
- c->loc[IA64_REG_BSP] = IA64_NULL_LOC;
- c->loc[IA64_REG_BSPSTORE] = IA64_REG_LOC (c, UNW_IA64_AR_BSPSTORE);
- c->loc[IA64_REG_PFS] = IA64_REG_LOC (c, UNW_IA64_AR_PFS);
- c->loc[IA64_REG_RNAT] = IA64_REG_LOC (c, UNW_IA64_AR_RNAT);
- c->loc[IA64_REG_IP] = IA64_REG_LOC (c, UNW_IA64_IP);
+ c->cfm_loc = IA64_REG_LOC (c, UNW_IA64_CFM);
+ c->loc[IA64_REG_BSP] = IA64_NULL_LOC;
+ c->loc[IA64_REG_BSPSTORE] = IA64_REG_LOC (c, UNW_IA64_AR_BSPSTORE);
+ c->loc[IA64_REG_PFS] = IA64_REG_LOC (c, UNW_IA64_AR_PFS);
+ c->loc[IA64_REG_RNAT] = IA64_REG_LOC (c, UNW_IA64_AR_RNAT);
+ c->loc[IA64_REG_IP] = IA64_REG_LOC (c, UNW_IA64_IP);
c->loc[IA64_REG_PRI_UNAT_MEM] = IA64_NULL_LOC; /* no primary UNaT location */
- c->loc[IA64_REG_UNAT] = IA64_REG_LOC (c, UNW_IA64_AR_UNAT);
- c->loc[IA64_REG_PR] = IA64_REG_LOC (c, UNW_IA64_PR);
- c->loc[IA64_REG_LC] = IA64_REG_LOC (c, UNW_IA64_AR_LC);
- c->loc[IA64_REG_FPSR] = IA64_REG_LOC (c, UNW_IA64_AR_FPSR);
+ c->loc[IA64_REG_UNAT] = IA64_REG_LOC (c, UNW_IA64_AR_UNAT);
+ c->loc[IA64_REG_PR] = IA64_REG_LOC (c, UNW_IA64_PR);
+ c->loc[IA64_REG_LC] = IA64_REG_LOC (c, UNW_IA64_AR_LC);
+ c->loc[IA64_REG_FPSR] = IA64_REG_LOC (c, UNW_IA64_AR_FPSR);
c->loc[IA64_REG_R4] = IA64_REG_LOC (c, UNW_IA64_GR + 4);
c->loc[IA64_REG_R5] = IA64_REG_LOC (c, UNW_IA64_GR + 5);
c->rbs_area[0].size = bspstore - rbs_base;
c->rbs_area[0].rnat_loc = IA64_REG_LOC (c, UNW_IA64_AR_RNAT);
Debug (10, "initial rbs-area: [0x%llx-0x%llx), rnat@%s\n",
- (long long) rbs_base, (long long) c->rbs_area[0].end,
- ia64_strloc (c->rbs_area[0].rnat_loc));
+ (long long) rbs_base, (long long) c->rbs_area[0].end,
+ ia64_strloc (c->rbs_area[0].rnat_loc));
c->pi.flags = 0;