Lines Matching refs:thread
495 struct task_struct *thread; in gdb_get_regs_helper() local
499 thread = kgdb_usethread; in gdb_get_regs_helper()
500 if (!thread) { in gdb_get_regs_helper()
501 thread = kgdb_info[ks->cpu].task; in gdb_get_regs_helper()
512 if (thread == kgdb_info[i].task) in gdb_get_regs_helper()
532 sleeping_thread_to_gdb_regs(gdb_regs, thread); in gdb_get_regs_helper()
800 struct task_struct *thread; in gdb_cmd_task() local
807 thread = getthread(ks->linux_regs, ks->threadid); in gdb_cmd_task()
808 if (!thread && ks->threadid > 0) { in gdb_cmd_task()
812 kgdb_usethread = thread; in gdb_cmd_task()
822 thread = getthread(ks->linux_regs, ks->threadid); in gdb_cmd_task()
823 if (!thread && ks->threadid > 0) { in gdb_cmd_task()
827 kgdb_contthread = thread; in gdb_cmd_task()
838 struct task_struct *thread; in gdb_cmd_thread() local
841 thread = getthread(ks->linux_regs, ks->threadid); in gdb_cmd_thread()
842 if (thread) in gdb_cmd_thread()