Lines Matching refs:cache

144   struct sparc_frame_cache *cache;  in sparc64obsd_frame_cache()  local
150 cache = sparc_frame_cache (next_frame, this_cache); in sparc64obsd_frame_cache()
151 gdb_assert (cache == *this_cache); in sparc64obsd_frame_cache()
155 if (cache->pc == 0) in sparc64obsd_frame_cache()
157 cache->pc = frame_pc_unwind (next_frame); in sparc64obsd_frame_cache()
158 cache->pc &= ~(sparc64obsd_page_size - 1); in sparc64obsd_frame_cache()
162 cache->frameless_p = 0; in sparc64obsd_frame_cache()
164 cache->base = addr; in sparc64obsd_frame_cache()
169 addr = cache->base + BIAS + 128 + 16; in sparc64obsd_frame_cache()
170 cache->saved_regs = sparc64nbsd_sigcontext_saved_regs (addr, next_frame); in sparc64obsd_frame_cache()
172 return cache; in sparc64obsd_frame_cache()
179 struct sparc_frame_cache *cache = in sparc64obsd_frame_this_id() local
182 (*this_id) = frame_id_build (cache->base, cache->pc); in sparc64obsd_frame_this_id()
192 struct sparc_frame_cache *cache = in sparc64obsd_frame_prev_register() local
195 trad_frame_get_prev_register (next_frame, cache->saved_regs, regnum, in sparc64obsd_frame_prev_register()
224 struct sparc_frame_cache *cache; in sparc64obsd_trapframe_cache() local
231 cache = sparc_frame_cache (next_frame, this_cache); in sparc64obsd_trapframe_cache()
232 gdb_assert (cache == *this_cache); in sparc64obsd_trapframe_cache()
237 cache->saved_regs = trad_frame_alloc_saved_regs (next_frame); in sparc64obsd_trapframe_cache()
239 cache->saved_regs[SPARC64_STATE_REGNUM].addr = trapframe_addr; in sparc64obsd_trapframe_cache()
240 cache->saved_regs[SPARC64_PC_REGNUM].addr = trapframe_addr + 8; in sparc64obsd_trapframe_cache()
241 cache->saved_regs[SPARC64_NPC_REGNUM].addr = trapframe_addr + 16; in sparc64obsd_trapframe_cache()
244 cache->saved_regs[regnum].addr = in sparc64obsd_trapframe_cache()
247 return cache; in sparc64obsd_trapframe_cache()
254 struct sparc_frame_cache *cache = in sparc64obsd_trapframe_this_id() local
257 (*this_id) = frame_id_build (cache->base, cache->pc); in sparc64obsd_trapframe_this_id()
267 struct sparc_frame_cache *cache = in sparc64obsd_trapframe_prev_register() local
270 trad_frame_get_prev_register (next_frame, cache->saved_regs, regnum, in sparc64obsd_trapframe_prev_register()