pt_regs_to_gdb_regs

Langue: en

Version: June 2009 (debian - 07/07/09)

Section: 9 (Appels noyau Linux)

NAME

pt_regs_to_gdb_regs - Convert ptrace regs to GDB regs

SYNOPSIS

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.

DESCRIPTION

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

AUTHORS

Jason Wessel <jason.wessel@windriver.com>

Author.

Tom Rini <trini@kernel.crashing.org>

Author.

Amit S. Kale <amitkale@linsyssoft.com>

Author.