Home
last modified time | relevance | path

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

/kernel/debug/
Ddebug_core.c63 struct debuggerinfo_struct kgdb_info[NR_CPUS]; variable
481 kgdb_info[ks->cpu].enter_kgdb++; in kgdb_cpu_enter()
482 kgdb_info[ks->cpu].exception_state |= exception_state; in kgdb_cpu_enter()
500 kgdb_info[cpu].debuggerinfo = regs; in kgdb_cpu_enter()
501 kgdb_info[cpu].task = current; in kgdb_cpu_enter()
502 kgdb_info[cpu].ret_state = 0; in kgdb_cpu_enter()
503 kgdb_info[cpu].irq_depth = hardirq_count() >> HARDIRQ_SHIFT; in kgdb_cpu_enter()
520 if (kgdb_info[cpu].exception_state & DCPU_NEXT_MASTER) { in kgdb_cpu_enter()
521 kgdb_info[cpu].exception_state &= ~DCPU_NEXT_MASTER; in kgdb_cpu_enter()
523 } else if (kgdb_info[cpu].exception_state & DCPU_WANT_MASTER) { in kgdb_cpu_enter()
[all …]
Dgdbstub.c440 if (kgdb_info[-tid - 2].task) in getthread()
441 return kgdb_info[-tid - 2].task; in getthread()
501 thread = kgdb_info[ks->cpu].task; in gdb_get_regs_helper()
502 local_debuggerinfo = kgdb_info[ks->cpu].debuggerinfo; in gdb_get_regs_helper()
512 if (thread == kgdb_info[i].task) in gdb_get_regs_helper()
513 local_debuggerinfo = kgdb_info[i].debuggerinfo; in gdb_get_regs_helper()
950 kgdb_usethread = kgdb_info[ks->cpu].task; in gdb_serial_stub()
951 ks->kgdb_usethreadid = shadow_pid(kgdb_info[ks->cpu].task->pid); in gdb_serial_stub()
Ddebug_core.h47 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()
124 kgdb_info[i].debuggerinfo = NULL; in kdb_stub()
125 kgdb_info[i].task = NULL; in kdb_stub()
163 kgdb_info[ks->cpu].ret_state = gdbstub_state(ks, "e"); in kdb_stub()
165 kgdb_info[ks->cpu].ret_state = 1; in kdb_stub()
176 return kgdb_info[ks->cpu].ret_state; in kdb_stub()
Dkdb_private.h225 #define KDB_TSK(cpu) kgdb_info[cpu].task
226 #define KDB_TSKREGS(cpu) kgdb_info[cpu].debuggerinfo
Dkdb_support.c642 if (!kdb_task_has_cpu(p) || kgdb_info[cpu].irq_depth == 1) { in kdb_task_state_char()