'\" t .\" Title: pt_regs_to_gdb_regs .\" Author: .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: June 2017 .\" Manual: Kernel Debugger Internals .\" Source: Kernel Hackers Manual 4.11.3 .\" Language: English .\" .TH "PT_REGS_TO_GDB_REGS" "9" "June 2017" "Kernel Hackers Manual 4\&.11\&" "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 \fIunsigned long * gdb_regs\fR .RS 4 A pointer to hold the registers in the order GDB wants\&. .RE .PP \fIstruct pt_regs * regs\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