Convert ptrace regs to gdb regs
void pt_regs_to_gdb_regs(unsigned long * gdb_regs, struct pt_regs * regs);
gdb_regs
A pointer to hold the registers in the order GDB wants.
regs
The struct pt_regs of the current process.
Convert the pt_regs in regs into the format for registers that GDB expects, stored in gdb_regs.
Jason Wessel <[email protected]>
Author.