Home
last modified time | relevance | path

Searched refs:kgdb_info (Results 1 – 7 of 7) sorted by relevance

/kernel/debug/
Ddebug_core.c65 struct debuggerinfo_struct kgdb_info[NR_CPUS]; variable
263 if (kgdb_info[cpu].rounding_up) in kgdb_roundup_cpus()
265 kgdb_info[cpu].rounding_up = true; in kgdb_roundup_cpus()
269 kgdb_info[cpu].rounding_up = false; in kgdb_roundup_cpus()
463 if (!(kgdb_info[cpu].exception_state & DCPU_IS_SLAVE)) { in kdb_dump_stack_on_cpu()
480 kgdb_info[cpu].exception_state |= DCPU_WANT_BT; in kdb_dump_stack_on_cpu()
481 while (kgdb_info[cpu].exception_state & DCPU_WANT_BT) in kdb_dump_stack_on_cpu()
582 kgdb_info[ks->cpu].enter_kgdb++; in kgdb_cpu_enter()
583 kgdb_info[ks->cpu].exception_state |= exception_state; in kgdb_cpu_enter()
602 kgdb_info[cpu].debuggerinfo = regs; in kgdb_cpu_enter()
[all …]
Dgdbstub.c438 if (kgdb_info[-tid - 2].task) in getthread()
439 return kgdb_info[-tid - 2].task; in getthread()
499 thread = kgdb_info[ks->cpu].task; in gdb_get_regs_helper()
500 local_debuggerinfo = kgdb_info[ks->cpu].debuggerinfo; in gdb_get_regs_helper()
510 if (thread == kgdb_info[i].task) in gdb_get_regs_helper()
511 local_debuggerinfo = kgdb_info[i].debuggerinfo; in gdb_get_regs_helper()
961 kgdb_usethread = kgdb_info[ks->cpu].task; in gdb_serial_stub()
962 ks->kgdb_usethreadid = shadow_pid(kgdb_info[ks->cpu].task->pid); in gdb_serial_stub()
Ddebug_core.h48 extern struct debuggerinfo_struct kgdb_info[];
/kernel/debug/kdb/
Dkdb_debugger.c40 kdb_current_task = kgdb_info[ks->cpu].task; in kdb_common_init_state()
41 kdb_current_regs = kgdb_info[ks->cpu].debuggerinfo; in kdb_common_init_state()
127 if (!kgdb_info[i].enter_kgdb) in kdb_stub()
158 kgdb_info[ks->cpu].ret_state = gdbstub_state(ks, "e"); in kdb_stub()
160 kgdb_info[ks->cpu].ret_state = 1; in kdb_stub()
170 return kgdb_info[ks->cpu].ret_state; in kdb_stub()
Dkdb_private.h211 #define KDB_TSK(cpu) kgdb_info[cpu].task
212 #define KDB_TSKREGS(cpu) kgdb_info[cpu].debuggerinfo
Dkdb_support.c501 if (!kdb_task_has_cpu(p) || kgdb_info[cpu].irq_depth == 1) { in kdb_task_state_char()
Dkdb_main.c2207 } else if (!kgdb_info[i].enter_kgdb) { in kdb_cpu_status()
2262 if ((cpunum >= CONFIG_NR_CPUS) || !kgdb_info[cpunum].enter_kgdb) in kdb_cpu()