gdb_regs_to_pt_regs
Prev | Architecture Specifics | Next

## Name

gdb_regs_to_pt_regs — Convert GDB regs to ptrace regs.

## Synopsis

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

## Arguments

`gdb_regs`

  A pointer to hold the registers we've received from GDB.

`regs`

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

## Description

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

Prev | Up | Next
sleeping_thread_to_gdb_regs | Home | kgdb_arch_handle_exception