Searched refs:kgdb_break (Results 1 - 1 of 1) sorted by relevance

/linux-4.1.27/kernel/debug/
H A Ddebug_core.c112 static struct kgdb_bkpt kgdb_break[KGDB_MAX_BREAKPOINTS] = { variable in typeref:struct:kgdb_bkpt
256 if (kgdb_break[i].state != BP_SET) dbg_activate_sw_breakpoints()
259 error = kgdb_arch_set_breakpoint(&kgdb_break[i]); dbg_activate_sw_breakpoints()
263 kgdb_break[i].bpt_addr); dbg_activate_sw_breakpoints()
267 kgdb_flush_swbreak_addr(kgdb_break[i].bpt_addr); dbg_activate_sw_breakpoints()
268 kgdb_break[i].state = BP_ACTIVE; dbg_activate_sw_breakpoints()
283 if ((kgdb_break[i].state == BP_SET) && dbg_set_sw_break()
284 (kgdb_break[i].bpt_addr == addr)) dbg_set_sw_break()
288 if (kgdb_break[i].state == BP_REMOVED && dbg_set_sw_break()
289 kgdb_break[i].bpt_addr == addr) { dbg_set_sw_break()
297 if (kgdb_break[i].state == BP_UNDEFINED) { dbg_set_sw_break()
307 kgdb_break[breakno].state = BP_SET; dbg_set_sw_break()
308 kgdb_break[breakno].type = BP_BREAKPOINT; dbg_set_sw_break()
309 kgdb_break[breakno].bpt_addr = addr; dbg_set_sw_break()
321 if (kgdb_break[i].state != BP_ACTIVE) dbg_deactivate_sw_breakpoints()
323 error = kgdb_arch_remove_breakpoint(&kgdb_break[i]); dbg_deactivate_sw_breakpoints()
326 kgdb_break[i].bpt_addr); dbg_deactivate_sw_breakpoints()
330 kgdb_flush_swbreak_addr(kgdb_break[i].bpt_addr); dbg_deactivate_sw_breakpoints()
331 kgdb_break[i].state = BP_SET; dbg_deactivate_sw_breakpoints()
341 if ((kgdb_break[i].state == BP_SET) && dbg_remove_sw_break()
342 (kgdb_break[i].bpt_addr == addr)) { dbg_remove_sw_break()
343 kgdb_break[i].state = BP_REMOVED; dbg_remove_sw_break()
355 if ((kgdb_break[i].state == BP_REMOVED) && kgdb_isremovedbreak()
356 (kgdb_break[i].bpt_addr == addr)) kgdb_isremovedbreak()
369 if (kgdb_break[i].state != BP_ACTIVE) dbg_remove_all_break()
371 error = kgdb_arch_remove_breakpoint(&kgdb_break[i]); dbg_remove_all_break()
374 kgdb_break[i].bpt_addr); dbg_remove_all_break()
376 kgdb_break[i].state = BP_UNDEFINED; dbg_remove_all_break()

Completed in 65 milliseconds