Query: pt_regs_to_gdb_regs
OS: centos
Section: 9
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
PT_REGS_TO_GDB_REGS(9) Kernel Debugger Internals PT_REGS_TO_GDB_REGS(9)NAMEpt_regs_to_gdb_regs - Convert ptrace regs to GDB regsSYNOPSISvoid pt_regs_to_gdb_regs(unsigned long * gdb_regs, struct pt_regs * regs);ARGUMENTSgdb_regs A pointer to hold the registers in the order GDB wants. regs The struct pt_regs of the current process.DESCRIPTIONConvert the pt_regs in regs into the format for registers that GDB expects, stored in gdb_regs.AUTHORJason Wessel <jason.wessel@windriver.com> Author.COPYRIGHTKernel Hackers Manual 3.10 June 2014 PT_REGS_TO_GDB_REGS(9)