1PT_REGS_TO_GDB_REGS(9)     Kernel Debugger 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

AUTHOR

24       Jason Wessel <jason.wessel@windriver.com>
25           Author.
26
28Kernel Hackers Manual 3.10         June 2019            PT_REGS_TO_GDB_REGS(9)
Impressum