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.

Releases

5 releases since Debian 5.0 (Lenny); the text changed 4 times.

  1. 5.0
  2. 6.0
  3. 7
  4. 8
  5. 9

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.