'\" t .\" Title: gdb_regs_to_pt_regs .\" Author: .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: September 2017 .\" Manual: Kernel Debugger Internals .\" Source: Kernel Hackers Manual 4.12.13 .\" Language: English .\" .TH "GDB_REGS_TO_PT_REGS" "9" "September 2017" "Kernel Hackers Manual 4\&.12\&" "Kernel Debugger Internals" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" gdb_regs_to_pt_regs \- Convert GDB regs to ptrace regs\&. .SH "SYNOPSIS" .HP \w'void\ gdb_regs_to_pt_regs('u .BI "void gdb_regs_to_pt_regs(unsigned\ long\ *\ " "gdb_regs" ", struct\ pt_regs\ *\ " "regs" ");" .SH "ARGUMENTS" .PP \fIunsigned long * gdb_regs\fR .RS 4 A pointer to hold the registers we\*(Aqve received from GDB\&. .RE .PP \fIstruct pt_regs * regs\fR .RS 4 A pointer to a struct pt_regs to hold these values in\&. .RE .SH "DESCRIPTION" .PP Convert the GDB regs in \fIgdb_regs\fR into the pt_regs, and store them in \fIregs\fR\&. .SH "AUTHOR" .PP \fBJason Wessel\fR <\&jason.wessel@windriver.com\&> .RS 4 Author. .RE .SH "COPYRIGHT" .br