Home
last modified time | relevance | path

Searched refs:kdb_thrctx (Results 1 – 16 of 16) sorted by relevance

/trueos/sys/ia64/ia64/
HDgdb_machdep.c54 case 1: return (&kdb_thrctx->pcb_special.gp); in gdb_cpu_getreg()
55 case 4: return (&kdb_thrctx->pcb_preserved.gr4); in gdb_cpu_getreg()
56 case 5: return (&kdb_thrctx->pcb_preserved.gr5); in gdb_cpu_getreg()
57 case 6: return (&kdb_thrctx->pcb_preserved.gr6); in gdb_cpu_getreg()
58 case 7: return (&kdb_thrctx->pcb_preserved.gr7); in gdb_cpu_getreg()
59 case 12: return (&kdb_thrctx->pcb_special.sp); in gdb_cpu_getreg()
60 case 13: return (&kdb_thrctx->pcb_special.tp); in gdb_cpu_getreg()
62 case 130: return (&kdb_thrctx->pcb_preserved_fp.fr2); in gdb_cpu_getreg()
63 case 131: return (&kdb_thrctx->pcb_preserved_fp.fr3); in gdb_cpu_getreg()
64 case 132: return (&kdb_thrctx->pcb_preserved_fp.fr4); in gdb_cpu_getreg()
[all …]
/trueos/sys/arm/arm/
HDgdb_machdep.c70 case 4: return (&kdb_thrctx->pcb_regs.sf_r4); in gdb_cpu_getreg()
71 case 5: return (&kdb_thrctx->pcb_regs.sf_r5); in gdb_cpu_getreg()
72 case 6: return (&kdb_thrctx->pcb_regs.sf_r6); in gdb_cpu_getreg()
73 case 7: return (&kdb_thrctx->pcb_regs.sf_r7); in gdb_cpu_getreg()
74 case 8: return (&kdb_thrctx->pcb_regs.sf_r8); in gdb_cpu_getreg()
75 case 9: return (&kdb_thrctx->pcb_regs.sf_r9); in gdb_cpu_getreg()
76 case 10: return (&kdb_thrctx->pcb_regs.sf_r10); in gdb_cpu_getreg()
77 case 11: return (&kdb_thrctx->pcb_regs.sf_r11); in gdb_cpu_getreg()
78 case 12: return (&kdb_thrctx->pcb_regs.sf_r12); in gdb_cpu_getreg()
79 case 13: stacktest = kdb_thrctx->pcb_regs.sf_sp + 5 * 4; in gdb_cpu_getreg()
[all …]
/trueos/sys/amd64/amd64/
HDgdb_machdep.c71 case 1: return (&kdb_thrctx->pcb_rbx); in gdb_cpu_getreg()
72 case 6: return (&kdb_thrctx->pcb_rbp); in gdb_cpu_getreg()
73 case 7: return (&kdb_thrctx->pcb_rsp); in gdb_cpu_getreg()
74 case 12: return (&kdb_thrctx->pcb_r12); in gdb_cpu_getreg()
75 case 13: return (&kdb_thrctx->pcb_r13); in gdb_cpu_getreg()
76 case 14: return (&kdb_thrctx->pcb_r14); in gdb_cpu_getreg()
77 case 15: return (&kdb_thrctx->pcb_r15); in gdb_cpu_getreg()
78 case 16: return (&kdb_thrctx->pcb_rip); in gdb_cpu_getreg()
89 kdb_thrctx->pcb_rip = *(register_t *)val; in gdb_cpu_setreg()
/trueos/sys/i386/i386/
HDgdb_machdep.c59 case 3: return (&kdb_thrctx->pcb_ebx); in gdb_cpu_getreg()
60 case 4: return (&kdb_thrctx->pcb_esp); in gdb_cpu_getreg()
61 case 5: return (&kdb_thrctx->pcb_ebp); in gdb_cpu_getreg()
62 case 6: return (&kdb_thrctx->pcb_esi); in gdb_cpu_getreg()
63 case 7: return (&kdb_thrctx->pcb_edi); in gdb_cpu_getreg()
64 case 8: return (&kdb_thrctx->pcb_eip); in gdb_cpu_getreg()
75 kdb_thrctx->pcb_eip = *(register_t *)val; in gdb_cpu_setreg()
/trueos/sys/mips/mips/
HDgdb_machdep.c129 return (&kdb_thrctx->pcb_context[PCB_REG_S0 + regnum - 16]); in gdb_cpu_getreg()
131 return (&kdb_thrctx->pcb_context[PCB_REG_GP]); in gdb_cpu_getreg()
133 return (&kdb_thrctx->pcb_context[PCB_REG_SP]); in gdb_cpu_getreg()
135 return (&kdb_thrctx->pcb_context[PCB_REG_S8]); in gdb_cpu_getreg()
137 return (&kdb_thrctx->pcb_context[PCB_REG_RA]); in gdb_cpu_getreg()
139 return (&kdb_thrctx->pcb_context[PCB_REG_PC]); in gdb_cpu_getreg()
149 kdb_thrctx->pcb_context[10] = *(register_t *)val; in gdb_cpu_setreg()
/trueos/sys/ia64/include/
HDdb_machdep.h47 #define PC_REGS() ((kdb_thrctx->pcb_special.__spare == 0) ? \
48 kdb_thrctx->pcb_special.rp : \
49 kdb_thrctx->pcb_special.iip + ((kdb_thrctx->pcb_special.psr>>41) & 3))
/trueos/sys/sparc64/sparc64/
HDgdb_machdep.c53 synth = kdb_thrctx->pcb_sp - CCFSZ; in gdb_cpu_getreg()
57 case 30: return (&kdb_thrctx->pcb_sp); in gdb_cpu_getreg()
60 case 80: return (&kdb_thrctx->pcb_pc); in gdb_cpu_getreg()
/trueos/sys/powerpc/powerpc/
HDgdb_machdep.c65 return (&kdb_thrctx->pcb_sp); in gdb_cpu_getreg()
67 return (kdb_thrctx->pcb_context + (regnum - 14)); in gdb_cpu_getreg()
69 return (&kdb_thrctx->pcb_lr); in gdb_cpu_getreg()
/trueos/sys/amd64/include/
HDdb_machdep.h38 #define PC_REGS() ((db_addr_t)kdb_thrctx->pcb_rip)
47 kdb_thrctx->pcb_rip += 1; \
53 kdb_thrctx->pcb_rip -= 1; \
/trueos/sys/i386/include/
HDdb_machdep.h38 #define PC_REGS() ((db_addr_t)kdb_thrctx->pcb_eip)
47 kdb_thrctx->pcb_eip += 1; \
53 kdb_thrctx->pcb_eip -= 1; \
/trueos/sys/mips/include/
HDdb_machdep.h64 #define PC_REGS() ((db_addr_t)kdb_thrctx->pcb_regs.pc)
70 kdb_thrctx->pcb_regs.pc += BKPT_SIZE; \
/trueos/sys/sparc64/include/
HDdb_machdep.h41 #define PC_REGS() ((db_addr_t)kdb_thrctx->pcb_pc)
/trueos/sys/arm/include/
HDdb_machdep.h41 #define PC_REGS() ((db_addr_t)kdb_thrctx->pcb_regs.sf_pc)
/trueos/sys/powerpc/include/
HDdb_machdep.h48 #define PC_REGS(regs) ((db_addr_t)kdb_thrctx->pcb_lr)
/trueos/sys/sys/
HDkdb.h66 extern struct pcb *kdb_thrctx; /* Current context. */
/trueos/sys/kern/
HDsubr_kdb.c57 struct pcb *kdb_thrctx = NULL; variable
602 kdb_thrctx = kdb_thr_ctx(thr); in kdb_thr_select()