'\" t .\" Title: pt_regs_to_gdb_regs .\" Author: .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: April 2019 .\" Manual: Kernel Debugger Internals .\" Source: Kernel Hackers Manual 4.9.168 .\" Language: English .\" .TH "PT_REGS_TO_GDB_REGS" "9" "April 2019" "Kernel Hackers Manual 4\&.9\&." "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" pt_regs_to_gdb_regs \- Convert ptrace regs to GDB regs .SH "SYNOPSIS" .HP \w'void\ pt_regs_to_gdb_regs('u .BI "void pt_regs_to_gdb_regs(unsigned\ long\ *\ " "gdb_regs" ", struct\ pt_regs\ *\ " "regs" ");" .SH "ARGUMENTS" .PP \fIgdb_regs\fR .RS 4 A pointer to hold the registers in the order GDB wants\&. .RE .PP \fIregs\fR .RS 4 The struct pt_regs of the current process\&. .RE .SH "DESCRIPTION" .PP Convert the pt_regs in \fIregs\fR into the format for registers that GDB expects, stored in \fIgdb_regs\fR\&. .SH "AUTHOR" .PP \fBJason Wessel\fR <\&jason.wessel@windriver.com\&> .RS 4 Author. .RE .SH "COPYRIGHT" .br