centos man page for sleeping_thread_to_gdb_regs

Query: sleeping_thread_to_gdb_regs

OS: centos

Section: 9

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

SLEEPING_THREAD_TO_G(9) 				     Kernel Debugger Internals					   SLEEPING_THREAD_TO_G(9)

NAME
sleeping_thread_to_gdb_regs - Convert ptrace regs to GDB regs
SYNOPSIS
void sleeping_thread_to_gdb_regs(unsigned long * gdb_regs, struct task_struct * p);
ARGUMENTS
gdb_regs A pointer to hold the registers in the order GDB wants. p The struct task_struct of the desired process.
DESCRIPTION
Convert the register values of the sleeping process in p to the format that GDB expects. This function is called when kgdb does not have access to the struct pt_regs and therefore it should fill the gdb registers gdb_regs with what has been saved in struct thread_struct thread field during switch_to.
AUTHOR
Jason Wessel <jason.wessel@windriver.com> Author.
COPYRIGHT
Kernel Hackers Manual 3.10 June 2014 SLEEPING_THREAD_TO_G(9)
Related Man Pages
gdbinit(5) - centos
struct_utrace_engine_ops(9) - suse
utrace_prepare_examine(9) - suse
gdb(1) - freebsd
devel::gdb::lowlevel(3pm) - debian
Similar Topics in the Unix Linux Community
Set hard block limit for user using quota
How to increment version inside a file?
Shopt -s histappend
Controlling user input
Please Welcome Dave Munro to the Moderator Team!