Home
last modified time | relevance | path

Searched refs:grs (Results 1 – 4 of 4) sorted by relevance

/titanic_44/usr/src/cmd/mdb/intel/mdb/
H A Dproc_amd64dep.c157 prgregset_t grs; in pt_regs() local
184 if (mdb_vread(&grs, sizeof (grs), addr + off) != sizeof (grs)) { in pt_regs()
206 if (PTL_GETREGS(t, tid, grs) != 0) { in pt_regs()
212 rflags = grs[REG_RFL]; in pt_regs()
215 grs[REG_RAX], grs[REG_R8]); in pt_regs()
217 grs[REG_RBX], grs[REG_R9]); in pt_regs()
219 grs[REG_RCX], grs[REG_R10]); in pt_regs()
221 grs[REG_RDX], grs[REG_R11]); in pt_regs()
223 grs[REG_RSI], grs[REG_R12]); in pt_regs()
225 grs[REG_RDI], grs[REG_R13]); in pt_regs()
[all …]
H A Dproc_ia32dep.c112 prgregset_t grs; in pt_regs() local
139 if (mdb_vread(&grs, sizeof (grs), addr + off) != sizeof (grs)) { in pt_regs()
161 if (PTL_GETREGS(t, tid, grs) != 0) { in pt_regs()
167 eflags = grs[EFL]; in pt_regs()
170 grs[CS], grs[EAX], grs[EAX]); in pt_regs()
173 grs[DS], grs[EBX], grs[EBX]); in pt_regs()
176 grs[SS], grs[ECX], grs[ECX]); in pt_regs()
179 grs[ES], grs[EDX], grs[EDX]); in pt_regs()
182 grs[FS], grs[ESI], grs[ESI]); in pt_regs()
185 grs[GS], grs[EDI], grs[EDI]); in pt_regs()
[all …]
/titanic_44/usr/src/cmd/mdb/sparc/mdb/
H A Dproc_isadep.c132 prgregset_t grs; in pt_regs() local
142 #define GETREG2(x) ((uintptr_t)grs[(x)]), ((uintptr_t)grs[(x)]) in pt_regs()
162 if (PTL_GETREGS(t, tid, grs) != 0) { in pt_regs()
168 xgregs[i] = (ulong_t)grs[R_G0 + i]; in pt_regs()
169 xoregs[i] = (ulong_t)grs[R_O0 + i]; in pt_regs()
209 mdb_printf(" %%ccr = 0x%02x xcc=%c%c%c%c icc=%c%c%c%c\n", grs[R_CCR], in pt_regs()
210 (grs[R_CCR] & KREG_CCR_XCC_N_MASK) ? 'N' : 'n', in pt_regs()
211 (grs[R_CCR] & KREG_CCR_XCC_Z_MASK) ? 'Z' : 'z', in pt_regs()
212 (grs[R_CCR] & KREG_CCR_XCC_V_MASK) ? 'V' : 'v', in pt_regs()
213 (grs[R_CCR] & KREG_CCR_XCC_C_MASK) ? 'C' : 'c', in pt_regs()
[all …]
/titanic_44/usr/src/cmd/mdb/common/mdb/
H A Dmdb_proc.c4492 prgregset_t grs; in pt_getareg() local
4535 if (PTL_GETREGS(t, tid, grs) == 0) { in pt_getareg()
4536 *rp = r | (ulong_t)grs[rd_num]; in pt_getareg()
4559 prgregset_t grs; in pt_putareg() local
4606 if (PTL_GETREGS(t, tid, grs) == 0) { in pt_putareg()
4607 grs[rd_num] = (prgreg_t)r; in pt_putareg()
4608 return (PTL_SETREGS(t, tid, grs)); in pt_putareg()
4619 pt_stack_call(pt_stkarg_t *psp, const prgregset_t grs, uint_t argc, long *argv) in pt_stack_call() argument
4621 psp->pstk_gotpc |= (grs[R_PC] != 0); in pt_stack_call()
4626 return (psp->pstk_func(psp->pstk_private, grs[R_PC], in pt_stack_call()
[all …]