1GDB_REGS_TO_PT_REGS(9) KGDB Internals GDB_REGS_TO_PT_REGS(9)
2
3
4
6 gdb_regs_to_pt_regs - Convert GDB regs to ptrace regs.
7
9 void gdb_regs_to_pt_regs(unsigned long * gdb_regs,
10 struct pt_regs * regs);
11
13 gdb_regs
14 A pointer to hold the registers we´ve received from GDB.
15
16 regs
17 A pointer to a struct pt_regs to hold these values in.
18
20 Convert the GDB regs in gdb_regs into the pt_regs, and store them in
21 regs.
22
24 Jason Wessel <jason.wessel@windriver.com>
25 Author.
26
27 Tom Rini <trini@kernel.crashing.org>
28 Author.
29
30 Amit S. Kale <amitkale@linsyssoft.com>
31 Author.
32
34Kernel Hackers Manual 2.6. June 2019 GDB_REGS_TO_PT_REGS(9)