• Home
  • Raw
  • Download

Lines Matching refs:pt_regs

116 int kgdb_skipexception(int exception, struct pt_regs *regs)  in kgdb_skipexception()
121 static int kgdb_debugger_ipi(struct pt_regs *regs) in kgdb_debugger_ipi()
135 static int kgdb_debugger(struct pt_regs *regs) in kgdb_debugger()
141 static int kgdb_handle_breakpoint(struct pt_regs *regs) in kgdb_handle_breakpoint()
155 static int kgdb_singlestep(struct pt_regs *regs) in kgdb_singlestep()
165 static int kgdb_iabr_match(struct pt_regs *regs) in kgdb_iabr_match()
175 static int kgdb_break_match(struct pt_regs *regs) in kgdb_break_match()
196 struct pt_regs *regs = (struct pt_regs *)(p->thread.ksp + in sleeping_thread_to_gdb_regs()
248 { "r0", GDB_SIZEOF_REG, offsetof(struct pt_regs, gpr[0]) },
249 { "r1", GDB_SIZEOF_REG, offsetof(struct pt_regs, gpr[1]) },
250 { "r2", GDB_SIZEOF_REG, offsetof(struct pt_regs, gpr[2]) },
251 { "r3", GDB_SIZEOF_REG, offsetof(struct pt_regs, gpr[3]) },
252 { "r4", GDB_SIZEOF_REG, offsetof(struct pt_regs, gpr[4]) },
253 { "r5", GDB_SIZEOF_REG, offsetof(struct pt_regs, gpr[5]) },
254 { "r6", GDB_SIZEOF_REG, offsetof(struct pt_regs, gpr[6]) },
255 { "r7", GDB_SIZEOF_REG, offsetof(struct pt_regs, gpr[7]) },
256 { "r8", GDB_SIZEOF_REG, offsetof(struct pt_regs, gpr[8]) },
257 { "r9", GDB_SIZEOF_REG, offsetof(struct pt_regs, gpr[9]) },
258 { "r10", GDB_SIZEOF_REG, offsetof(struct pt_regs, gpr[10]) },
259 { "r11", GDB_SIZEOF_REG, offsetof(struct pt_regs, gpr[11]) },
260 { "r12", GDB_SIZEOF_REG, offsetof(struct pt_regs, gpr[12]) },
261 { "r13", GDB_SIZEOF_REG, offsetof(struct pt_regs, gpr[13]) },
262 { "r14", GDB_SIZEOF_REG, offsetof(struct pt_regs, gpr[14]) },
263 { "r15", GDB_SIZEOF_REG, offsetof(struct pt_regs, gpr[15]) },
264 { "r16", GDB_SIZEOF_REG, offsetof(struct pt_regs, gpr[16]) },
265 { "r17", GDB_SIZEOF_REG, offsetof(struct pt_regs, gpr[17]) },
266 { "r18", GDB_SIZEOF_REG, offsetof(struct pt_regs, gpr[18]) },
267 { "r19", GDB_SIZEOF_REG, offsetof(struct pt_regs, gpr[19]) },
268 { "r20", GDB_SIZEOF_REG, offsetof(struct pt_regs, gpr[20]) },
269 { "r21", GDB_SIZEOF_REG, offsetof(struct pt_regs, gpr[21]) },
270 { "r22", GDB_SIZEOF_REG, offsetof(struct pt_regs, gpr[22]) },
271 { "r23", GDB_SIZEOF_REG, offsetof(struct pt_regs, gpr[23]) },
272 { "r24", GDB_SIZEOF_REG, offsetof(struct pt_regs, gpr[24]) },
273 { "r25", GDB_SIZEOF_REG, offsetof(struct pt_regs, gpr[25]) },
274 { "r26", GDB_SIZEOF_REG, offsetof(struct pt_regs, gpr[26]) },
275 { "r27", GDB_SIZEOF_REG, offsetof(struct pt_regs, gpr[27]) },
276 { "r28", GDB_SIZEOF_REG, offsetof(struct pt_regs, gpr[28]) },
277 { "r29", GDB_SIZEOF_REG, offsetof(struct pt_regs, gpr[29]) },
278 { "r30", GDB_SIZEOF_REG, offsetof(struct pt_regs, gpr[30]) },
279 { "r31", GDB_SIZEOF_REG, offsetof(struct pt_regs, gpr[31]) },
314 { "pc", GDB_SIZEOF_REG, offsetof(struct pt_regs, nip) },
315 { "msr", GDB_SIZEOF_REG, offsetof(struct pt_regs, msr) },
316 { "cr", GDB_SIZEOF_REG_U32, offsetof(struct pt_regs, ccr) },
317 { "lr", GDB_SIZEOF_REG, offsetof(struct pt_regs, link) },
318 { "ctr", GDB_SIZEOF_REG_U32, offsetof(struct pt_regs, ctr) },
319 { "xer", GDB_SIZEOF_REG, offsetof(struct pt_regs, xer) },
322 char *dbg_get_reg(int regno, void *mem, struct pt_regs *regs) in dbg_get_reg()
348 int dbg_set_reg(int regno, void *mem, struct pt_regs *regs) in dbg_set_reg()
373 void kgdb_arch_set_pc(struct pt_regs *regs, unsigned long pc) in kgdb_arch_set_pc()
383 struct pt_regs *linux_regs) in kgdb_arch_handle_exception()
455 static int kgdb_not_implemented(struct pt_regs *regs) in kgdb_not_implemented()