Home
last modified time | relevance | path

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

/NextBSD/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 …]
/NextBSD/sys/amd64/amd64/
HDgdb_machdep.c73 case 1: return (&kdb_thrctx->pcb_rbx); in gdb_cpu_getreg()
74 case 6: return (&kdb_thrctx->pcb_rbp); in gdb_cpu_getreg()
75 case 7: return (&kdb_thrctx->pcb_rsp); in gdb_cpu_getreg()
76 case 12: return (&kdb_thrctx->pcb_r12); in gdb_cpu_getreg()
77 case 13: return (&kdb_thrctx->pcb_r13); in gdb_cpu_getreg()
78 case 14: return (&kdb_thrctx->pcb_r14); in gdb_cpu_getreg()
79 case 15: return (&kdb_thrctx->pcb_r15); in gdb_cpu_getreg()
80 case 16: return (&kdb_thrctx->pcb_rip); in gdb_cpu_getreg()
93 kdb_thrctx->pcb_rip = *(register_t *)val; in gdb_cpu_setreg()
/NextBSD/sys/i386/i386/
HDgdb_machdep.c67 case 3: return (&kdb_thrctx->pcb_ebx); in gdb_cpu_getreg()
68 case 4: return (&kdb_thrctx->pcb_esp); in gdb_cpu_getreg()
69 case 5: return (&kdb_thrctx->pcb_ebp); in gdb_cpu_getreg()
70 case 6: return (&kdb_thrctx->pcb_esi); in gdb_cpu_getreg()
71 case 7: return (&kdb_thrctx->pcb_edi); in gdb_cpu_getreg()
72 case 8: return (&kdb_thrctx->pcb_eip); in gdb_cpu_getreg()
78 case 15: return (&kdb_thrctx->pcb_gs); in gdb_cpu_getreg()
89 kdb_thrctx->pcb_eip = *(register_t *)val; in gdb_cpu_setreg()
/NextBSD/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()
/NextBSD/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()
/NextBSD/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()
/NextBSD/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; \
/NextBSD/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; \
/NextBSD/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; \
/NextBSD/sys/sparc64/include/
HDdb_machdep.h41 #define PC_REGS() ((db_addr_t)kdb_thrctx->pcb_pc)
/NextBSD/sys/arm/include/
HDdb_machdep.h41 #define PC_REGS() ((db_addr_t)kdb_thrctx->pcb_regs.sf_pc)
/NextBSD/sys/powerpc/include/
HDdb_machdep.h48 #define PC_REGS(regs) ((db_addr_t)kdb_thrctx->pcb_lr)
/NextBSD/sys/sys/
HDkdb.h66 extern struct pcb *kdb_thrctx; /* Current context. */
/NextBSD/sys/arm64/include/
HDdb_machdep.h46 #define PC_REGS() ((db_addr_t)kdb_thrctx->pcb_pc)
/NextBSD/sys/kern/
HDsubr_kdb.c57 struct pcb *kdb_thrctx = NULL; variable
600 kdb_thrctx = kdb_thr_ctx(thr); in kdb_thr_select()