1. NAME

gdb_regs_to_pt_regs - Convert GDB regs to ptrace regs.

2. SYNOPSIS

void gdb_regs_to_pt_regs(unsigned long *  gdb_regs , struct pt_regs *  regs );

3. ARGUMENTS

gdb_regs
    A pointer to hold the registers weAqve received from GDB.

regs
    A pointer to a struct pt_regs to hold these values in.

4. DESCRIPTION

Convert the GDB regs in gdb_regs into the pt_regs, and store them in regs.

5. AUTHOR

Jason Wessel <>
    Author.

6. COPYRIGHT