1PT_REGS_TO_GDB_REGS(9) Kernel Debugger Internals PT_REGS_TO_GDB_REGS(9)
2
3
4
6 pt_regs_to_gdb_regs - Convert ptrace regs to GDB regs
7
9 void pt_regs_to_gdb_regs(unsigned long * gdb_regs,
10 struct pt_regs * regs);
11
13 gdb_regs
14 A pointer to hold the registers in the order GDB wants.
15
16 regs
17 The struct pt_regs of the current process.
18
20 Convert the pt_regs in regs into the format for registers that GDB
21 expects, stored in gdb_regs.
22
24 Jason Wessel <jason.wessel@windriver.com>
25 Author.
26
28Kernel Hackers Manual 2.6. November 2011 PT_REGS_TO_GDB_REGS(9)