Searched refs:kgdb_info (Results 1 – 6 of 6) sorted by relevance
63 struct debuggerinfo_struct kgdb_info[NR_CPUS]; variable481 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 …]
440 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()
47 extern struct debuggerinfo_struct kgdb_info[];
40 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()
225 #define KDB_TSK(cpu) kgdb_info[cpu].task226 #define KDB_TSKREGS(cpu) kgdb_info[cpu].debuggerinfo
642 if (!kdb_task_has_cpu(p) || kgdb_info[cpu].irq_depth == 1) { in kdb_task_state_char()