Man Page: sleeping_thread_to_gdb_regs
Operating Environment: suse
Section: 9
SLEEPING_THREAD_TO_G(9) KGDB Internals SLEEPING_THREAD_TO_G(9)NAMEsleeping_thread_to_gdb_regs - Convert ptrace regs to GDB regsSYNOPSISvoid sleeping_thread_to_gdb_regs(unsigned long * gdb_regs, struct task_struct * p);ARGUMENTSgdb_regs A pointer to hold the registers in the order GDB wants. p The struct task_struct of the desired process.DESCRIPTIONConvert 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.AUTHORSJason Wessel <jason.wessel@windriver.com> Author. Tom Rini <trini@kernel.crashing.org> Author. Amit S. Kale <amitkale@linsyssoft.com> Author.COPYRIGHTKernel Hackers Manual 2.6. July 2010 SLEEPING_THREAD_TO_G(9)
| Related Man Pages |
|---|
| utrace_attach_task(9) - suse |
| gdb-add-index(1) - centos |
| swapcontext(2) - centos |
| struct_kgdb_arch(9) - suse |
| struct_utrace_engine_ops(9) - suse |
| Similar Topics in the Unix Linux Community |
|---|
| Is UNIX an open source OS ? |
| Cut command on RHEL 6.8 compatibility issues |
| Update kernel Linux without reboot?! |
| A (ksh) Library For and From UNIX.com |
| Shopt -s histappend |