carta
pt_regs_to_gdb_regs(9)

pt_regs_to_gdb_regs9

Convert ptrace regs to gdb regs

Usage

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

Arguments

gdb_regs

A pointer to hold the registers in the order GDB wants.

regs

The struct pt_regs of the current process.

Overview

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

History

  • Debian 9 (Stretch): the text shown here
  • Debian 8 (Jessie)
  • Debian 7 (Wheezy)
  • Debian 6.0 (Squeeze)
  • Debian 5.0 (Lenny)

Author

Jason Wessel <[email protected]>

Author.

From linux-manual-4.9 4.9.228-1 in Debian 9 (Stretch). Parsed by carta from the page's man source.