Lines Matching refs:pt_regs
114 int kgdb_skipexception(int exception, struct pt_regs *regs) in kgdb_skipexception()
119 static int kgdb_call_nmi_hook(struct pt_regs *regs) in kgdb_call_nmi_hook()
133 static int kgdb_debugger(struct pt_regs *regs) in kgdb_debugger()
139 static int kgdb_handle_breakpoint(struct pt_regs *regs) in kgdb_handle_breakpoint()
154 static int kgdb_singlestep(struct pt_regs *regs) in kgdb_singlestep()
191 static int kgdb_iabr_match(struct pt_regs *regs) in kgdb_iabr_match()
201 static int kgdb_break_match(struct pt_regs *regs) in kgdb_break_match()
222 struct pt_regs *regs = (struct pt_regs *)(p->thread.ksp + in sleeping_thread_to_gdb_regs()
274 { "r0", GDB_SIZEOF_REG, offsetof(struct pt_regs, gpr[0]) },
275 { "r1", GDB_SIZEOF_REG, offsetof(struct pt_regs, gpr[1]) },
276 { "r2", GDB_SIZEOF_REG, offsetof(struct pt_regs, gpr[2]) },
277 { "r3", GDB_SIZEOF_REG, offsetof(struct pt_regs, gpr[3]) },
278 { "r4", GDB_SIZEOF_REG, offsetof(struct pt_regs, gpr[4]) },
279 { "r5", GDB_SIZEOF_REG, offsetof(struct pt_regs, gpr[5]) },
280 { "r6", GDB_SIZEOF_REG, offsetof(struct pt_regs, gpr[6]) },
281 { "r7", GDB_SIZEOF_REG, offsetof(struct pt_regs, gpr[7]) },
282 { "r8", GDB_SIZEOF_REG, offsetof(struct pt_regs, gpr[8]) },
283 { "r9", GDB_SIZEOF_REG, offsetof(struct pt_regs, gpr[9]) },
284 { "r10", GDB_SIZEOF_REG, offsetof(struct pt_regs, gpr[10]) },
285 { "r11", GDB_SIZEOF_REG, offsetof(struct pt_regs, gpr[11]) },
286 { "r12", GDB_SIZEOF_REG, offsetof(struct pt_regs, gpr[12]) },
287 { "r13", GDB_SIZEOF_REG, offsetof(struct pt_regs, gpr[13]) },
288 { "r14", GDB_SIZEOF_REG, offsetof(struct pt_regs, gpr[14]) },
289 { "r15", GDB_SIZEOF_REG, offsetof(struct pt_regs, gpr[15]) },
290 { "r16", GDB_SIZEOF_REG, offsetof(struct pt_regs, gpr[16]) },
291 { "r17", GDB_SIZEOF_REG, offsetof(struct pt_regs, gpr[17]) },
292 { "r18", GDB_SIZEOF_REG, offsetof(struct pt_regs, gpr[18]) },
293 { "r19", GDB_SIZEOF_REG, offsetof(struct pt_regs, gpr[19]) },
294 { "r20", GDB_SIZEOF_REG, offsetof(struct pt_regs, gpr[20]) },
295 { "r21", GDB_SIZEOF_REG, offsetof(struct pt_regs, gpr[21]) },
296 { "r22", GDB_SIZEOF_REG, offsetof(struct pt_regs, gpr[22]) },
297 { "r23", GDB_SIZEOF_REG, offsetof(struct pt_regs, gpr[23]) },
298 { "r24", GDB_SIZEOF_REG, offsetof(struct pt_regs, gpr[24]) },
299 { "r25", GDB_SIZEOF_REG, offsetof(struct pt_regs, gpr[25]) },
300 { "r26", GDB_SIZEOF_REG, offsetof(struct pt_regs, gpr[26]) },
301 { "r27", GDB_SIZEOF_REG, offsetof(struct pt_regs, gpr[27]) },
302 { "r28", GDB_SIZEOF_REG, offsetof(struct pt_regs, gpr[28]) },
303 { "r29", GDB_SIZEOF_REG, offsetof(struct pt_regs, gpr[29]) },
304 { "r30", GDB_SIZEOF_REG, offsetof(struct pt_regs, gpr[30]) },
305 { "r31", GDB_SIZEOF_REG, offsetof(struct pt_regs, gpr[31]) },
340 { "pc", GDB_SIZEOF_REG, offsetof(struct pt_regs, nip) },
341 { "msr", GDB_SIZEOF_REG, offsetof(struct pt_regs, msr) },
342 { "cr", GDB_SIZEOF_REG_U32, offsetof(struct pt_regs, ccr) },
343 { "lr", GDB_SIZEOF_REG, offsetof(struct pt_regs, link) },
344 { "ctr", GDB_SIZEOF_REG_U32, offsetof(struct pt_regs, ctr) },
345 { "xer", GDB_SIZEOF_REG, offsetof(struct pt_regs, xer) },
348 char *dbg_get_reg(int regno, void *mem, struct pt_regs *regs) in dbg_get_reg()
374 int dbg_set_reg(int regno, void *mem, struct pt_regs *regs) in dbg_set_reg()
399 void kgdb_arch_set_pc(struct pt_regs *regs, unsigned long pc) in kgdb_arch_set_pc()
409 struct pt_regs *linux_regs) in kgdb_arch_handle_exception()
451 static int kgdb_not_implemented(struct pt_regs *regs) in kgdb_not_implemented()