Lines Matching refs:thread
496 struct task_struct *thread; in gdb_get_regs_helper() local
500 thread = kgdb_usethread; in gdb_get_regs_helper()
501 if (!thread) { in gdb_get_regs_helper()
502 thread = kgdb_info[ks->cpu].task; in gdb_get_regs_helper()
513 if (thread == kgdb_info[i].task) in gdb_get_regs_helper()
533 sleeping_thread_to_gdb_regs(gdb_regs, thread); in gdb_get_regs_helper()
814 struct task_struct *thread; in gdb_cmd_task() local
821 thread = getthread(ks->linux_regs, ks->threadid); in gdb_cmd_task()
822 if (!thread && ks->threadid > 0) { in gdb_cmd_task()
826 kgdb_usethread = thread; in gdb_cmd_task()
836 thread = getthread(ks->linux_regs, ks->threadid); in gdb_cmd_task()
837 if (!thread && ks->threadid > 0) { in gdb_cmd_task()
841 kgdb_contthread = thread; in gdb_cmd_task()
852 struct task_struct *thread; in gdb_cmd_thread() local
855 thread = getthread(ks->linux_regs, ks->threadid); in gdb_cmd_thread()
856 if (thread) in gdb_cmd_thread()