1PT_REGS_TO_GDB_REGS(9)          KGDB Internals          PT_REGS_TO_GDB_REGS(9)
2
3
4

NAME

6       pt_regs_to_gdb_regs - Convert ptrace regs to GDB regs
7

SYNOPSIS

9       void pt_regs_to_gdb_regs(unsigned long * gdb_regs,
10                                struct pt_regs * regs);
11

ARGUMENTS

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

DESCRIPTION

20       Convert the pt_regs in regs into the format for registers that GDB
21       expects, stored in gdb_regs.
22

AUTHORS

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            PT_REGS_TO_GDB_REGS(9)
Impressum