Lines Matching refs:cache
55 struct sparc_frame_cache *cache; in sparc64_sol2_sigtramp_frame_cache() local
62 cache = sparc_frame_cache (next_frame, this_cache); in sparc64_sol2_sigtramp_frame_cache()
63 gdb_assert (cache == *this_cache); in sparc64_sol2_sigtramp_frame_cache()
65 cache->saved_regs = trad_frame_alloc_saved_regs (next_frame); in sparc64_sol2_sigtramp_frame_cache()
70 regnum = (cache->frameless_p ? SPARC_O2_REGNUM : SPARC_I2_REGNUM); in sparc64_sol2_sigtramp_frame_cache()
73 cache->saved_regs[SPARC64_CCR_REGNUM].addr = mcontext_addr + 0 * 8; in sparc64_sol2_sigtramp_frame_cache()
74 cache->saved_regs[SPARC64_PC_REGNUM].addr = mcontext_addr + 1 * 8; in sparc64_sol2_sigtramp_frame_cache()
75 cache->saved_regs[SPARC64_NPC_REGNUM].addr = mcontext_addr + 2 * 8; in sparc64_sol2_sigtramp_frame_cache()
76 cache->saved_regs[SPARC64_Y_REGNUM].addr = mcontext_addr + 3 * 8; in sparc64_sol2_sigtramp_frame_cache()
77 cache->saved_regs[SPARC64_ASI_REGNUM].addr = mcontext_addr + 19 * 8; in sparc64_sol2_sigtramp_frame_cache()
78 cache->saved_regs[SPARC64_FPRS_REGNUM].addr = mcontext_addr + 20 * 8; in sparc64_sol2_sigtramp_frame_cache()
83 cache->saved_regs[regnum].addr = addr; in sparc64_sol2_sigtramp_frame_cache()
89 trad_frame_set_unknown (cache->saved_regs, regnum); in sparc64_sol2_sigtramp_frame_cache()
95 addr = cache->saved_regs[SPARC_SP_REGNUM].addr; in sparc64_sol2_sigtramp_frame_cache()
99 cache->saved_regs[regnum].addr = addr; in sparc64_sol2_sigtramp_frame_cache()
102 return cache; in sparc64_sol2_sigtramp_frame_cache()
110 struct sparc_frame_cache *cache = in sparc64_sol2_sigtramp_frame_this_id() local
113 (*this_id) = frame_id_build (cache->base, cache->pc); in sparc64_sol2_sigtramp_frame_this_id()
124 struct sparc_frame_cache *cache = in sparc64_sol2_sigtramp_frame_prev_register() local
127 trad_frame_get_prev_register (next_frame, cache->saved_regs, regnum, in sparc64_sol2_sigtramp_frame_prev_register()