Searched defs:gdb_regs (Results 1 - 15 of 15) sorted by relevance

/arch/sparc/kernel/
H A Dkgdb_32.c17 void pt_regs_to_gdb_regs(unsigned long *gdb_regs, struct pt_regs *regs) argument
22 gdb_regs[GDB_G0] = 0;
24 gdb_regs[GDB_G1 + i] = regs->u_regs[UREG_G1 + i];
28 gdb_regs[GDB_L0 + i] = win->locals[i];
30 gdb_regs[GDB_I0 + i] = win->ins[i];
33 gdb_regs[i] = 0;
35 gdb_regs[GDB_Y] = regs->y;
36 gdb_regs[GDB_PSR] = regs->psr;
37 gdb_regs[GDB_WIM] = 0;
38 gdb_regs[GDB_TB
45 sleeping_thread_to_gdb_regs(unsigned long *gdb_regs, struct task_struct *p) argument
80 gdb_regs_to_pt_regs(unsigned long *gdb_regs, struct pt_regs *regs) argument
[all...]
H A Dkgdb_64.c18 void pt_regs_to_gdb_regs(unsigned long *gdb_regs, struct pt_regs *regs) argument
23 gdb_regs[GDB_G0] = 0;
25 gdb_regs[GDB_G1 + i] = regs->u_regs[UREG_G1 + i];
29 gdb_regs[GDB_L0 + i] = win->locals[i];
31 gdb_regs[GDB_I0 + i] = win->ins[i];
34 gdb_regs[i] = 0;
36 gdb_regs[GDB_PC] = regs->tpc;
37 gdb_regs[GDB_NPC] = regs->tnpc;
38 gdb_regs[GDB_STATE] = regs->tstate;
39 gdb_regs[GDB_FS
44 sleeping_thread_to_gdb_regs(unsigned long *gdb_regs, struct task_struct *p) argument
87 gdb_regs_to_pt_regs(unsigned long *gdb_regs, struct pt_regs *regs) argument
[all...]
/arch/hexagon/kernel/
H A Dkgdb.c151 void sleeping_thread_to_gdb_regs(unsigned long *gdb_regs, argument
160 memset(gdb_regs, 0, NUMREGBYTES);
164 gdb_regs[0] = thread_regs->r00;
/arch/microblaze/kernel/
H A Dkgdb.c36 void pt_regs_to_gdb_regs(unsigned long *gdb_regs, struct pt_regs *regs) argument
43 gdb_regs[i] = pt_regb[i];
47 gdb_regs[GDB_BTR] = temp;
51 gdb_regs[GDB_PVR + i] = pvr.pvr[i];
55 gdb_regs[GDB_REDR] = temp;
57 gdb_regs[GDB_RPID] = temp;
59 gdb_regs[GDB_RZPR] = temp;
61 gdb_regs[GDB_RTLBX] = temp;
63 gdb_regs[GDB_RTLBLO] = temp;
65 gdb_regs[GDB_RTLBH
68 gdb_regs_to_pt_regs(unsigned long *gdb_regs, struct pt_regs *regs) argument
92 sleeping_thread_to_gdb_regs(unsigned long *gdb_regs, struct task_struct *p) argument
[all...]
/arch/arc/kernel/
H A Dkgdb.c16 static void to_gdb_regs(unsigned long *gdb_regs, struct pt_regs *kernel_regs, argument
22 gdb_regs[_R0 + regno] = get_reg(regno, kernel_regs, cregs);
25 gdb_regs[regno] = 0;
27 gdb_regs[_FP] = kernel_regs->fp;
28 gdb_regs[__SP] = kernel_regs->sp;
29 gdb_regs[_BLINK] = kernel_regs->blink;
30 gdb_regs[_RET] = kernel_regs->ret;
31 gdb_regs[_STATUS32] = kernel_regs->status32;
32 gdb_regs[_LP_COUNT] = kernel_regs->lp_count;
33 gdb_regs[_LP_EN
39 from_gdb_regs(unsigned long *gdb_regs, struct pt_regs *kernel_regs, struct callee_regs *cregs) argument
59 pt_regs_to_gdb_regs(unsigned long *gdb_regs, struct pt_regs *kernel_regs) argument
65 gdb_regs_to_pt_regs(unsigned long *gdb_regs, struct pt_regs *kernel_regs) argument
71 sleeping_thread_to_gdb_regs(unsigned long *gdb_regs, struct task_struct *task) argument
[all...]
/arch/arm/kernel/
H A Dkgdb.c76 sleeping_thread_to_gdb_regs(unsigned long *gdb_regs, struct task_struct *task) argument
87 gdb_regs[regno] = 0;
91 gdb_regs[_R0] = thread_regs->ARM_r0;
92 gdb_regs[_R1] = thread_regs->ARM_r1;
93 gdb_regs[_R2] = thread_regs->ARM_r2;
94 gdb_regs[_R3] = thread_regs->ARM_r3;
95 gdb_regs[_R4] = thread_regs->ARM_r4;
96 gdb_regs[_R5] = thread_regs->ARM_r5;
97 gdb_regs[_R6] = thread_regs->ARM_r6;
98 gdb_regs[_R
[all...]
/arch/arm64/kernel/
H A Dkgdb.c123 sleeping_thread_to_gdb_regs(unsigned long *gdb_regs, struct task_struct *task) argument
128 memset((char *)gdb_regs, 0, NUMREGBYTES);
130 memcpy((void *)gdb_regs, (void *)thread_regs->regs, GP_REG_BYTES);
/arch/blackfin/kernel/
H A Dkgdb.c14 void pt_regs_to_gdb_regs(unsigned long *gdb_regs, struct pt_regs *regs) argument
16 gdb_regs[BFIN_R0] = regs->r0;
17 gdb_regs[BFIN_R1] = regs->r1;
18 gdb_regs[BFIN_R2] = regs->r2;
19 gdb_regs[BFIN_R3] = regs->r3;
20 gdb_regs[BFIN_R4] = regs->r4;
21 gdb_regs[BFIN_R5] = regs->r5;
22 gdb_regs[BFIN_R6] = regs->r6;
23 gdb_regs[BFIN_R7] = regs->r7;
24 gdb_regs[BFIN_P
84 sleeping_thread_to_gdb_regs(unsigned long *gdb_regs, struct task_struct *p) argument
91 gdb_regs_to_pt_regs(unsigned long *gdb_regs, struct pt_regs *regs) argument
[all...]
/arch/mips/kernel/
H A Dkgdb.c244 void sleeping_thread_to_gdb_regs(unsigned long *gdb_regs, struct task_struct *p) argument
251 u32 *ptr = (u32 *)gdb_regs;
253 u64 *ptr = (u64 *)gdb_regs;
/arch/mn10300/kernel/
H A Dkgdb.c32 void pt_regs_to_gdb_regs(unsigned long *gdb_regs, struct pt_regs *regs) argument
36 gdb_regs[GDB_FR_D0] = regs->d0;
37 gdb_regs[GDB_FR_D1] = regs->d1;
38 gdb_regs[GDB_FR_D2] = regs->d2;
39 gdb_regs[GDB_FR_D3] = regs->d3;
40 gdb_regs[GDB_FR_A0] = regs->a0;
41 gdb_regs[GDB_FR_A1] = regs->a1;
42 gdb_regs[GDB_FR_A2] = regs->a2;
43 gdb_regs[GDB_FR_A3] = regs->a3;
44 gdb_regs[GDB_FR_S
74 sleeping_thread_to_gdb_regs(unsigned long *gdb_regs, struct task_struct *p) argument
86 gdb_regs_to_pt_regs(unsigned long *gdb_regs, struct pt_regs *regs) argument
[all...]
/arch/powerpc/kernel/
H A Dkgdb.c220 void sleeping_thread_to_gdb_regs(unsigned long *gdb_regs, struct task_struct *p) argument
224 unsigned long *ptr = gdb_regs;
227 memset(gdb_regs, 0, NUMREGBYTES);
260 (unsigned long)(((void *)gdb_regs) + NUMREGBYTES));
/arch/tile/kernel/
H A Dkgdb.c126 sleeping_thread_to_gdb_regs(unsigned long *gdb_regs, struct task_struct *task) argument
130 unsigned long *ptr = gdb_regs;
136 memset(gdb_regs, 0, NUMREGBYTES);
142 gdb_regs[TILEGX_PC_REGNUM] = thread_regs->pc;
143 gdb_regs[TILEGX_FAULTNUM_REGNUM] = thread_regs->faultnum;
/arch/sh/kernel/
H A Dkgdb.c224 void sleeping_thread_to_gdb_regs(unsigned long *gdb_regs, struct task_struct *p) argument
231 gdb_regs[reg] = 0;
241 gdb_regs[reg] = thread_regs->regs[reg];
243 gdb_regs[GDB_R15] = p->thread.sp;
244 gdb_regs[GDB_PC] = p->thread.pc;
249 gdb_regs[GDB_PR] = thread_regs->pr;
250 gdb_regs[GDB_GBR] = thread_regs->gbr;
/arch/x86/kernel/
H A Dkgdb.c147 * @gdb_regs: A pointer to hold the registers in the order GDB wants.
154 * @gdb_regs with what has been saved in &struct thread_struct
157 void sleeping_thread_to_gdb_regs(unsigned long *gdb_regs, struct task_struct *p) argument
160 u32 *gdb_regs32 = (u32 *)gdb_regs;
162 gdb_regs[GDB_AX] = 0;
163 gdb_regs[GDB_BX] = 0;
164 gdb_regs[GDB_CX] = 0;
165 gdb_regs[GDB_DX] = 0;
166 gdb_regs[GDB_SI] = 0;
167 gdb_regs[GDB_D
[all...]
/arch/mn10300/include/asm/
H A Dgdb-stub.h78 struct gdb_regs { struct

Completed in 93 milliseconds