Searched refs:step_bp (Results 1 - 1 of 1) sorted by relevance
/linux-4.1.27/arch/mn10300/kernel/ |
H A D | gdb-stub.c | 418 } step_bp[2]; variable in typeref:struct:gdb_bp_save 452 if (gdbstub_read_byte(addr + 0, &step_bp[ix].opcode[0]) < 0 || __gdbstub_mark_bp() 453 gdbstub_read_byte(addr + 1, &step_bp[ix].opcode[1]) < 0) __gdbstub_mark_bp() 456 step_bp[ix].addr = addr; __gdbstub_mark_bp() 463 if (step_bp[0].addr) { __gdbstub_restore_bp() 464 gdbstub_write_byte(step_bp[0].opcode[0], step_bp[0].addr + 0); __gdbstub_restore_bp() 465 gdbstub_write_byte(step_bp[0].opcode[1], step_bp[0].addr + 1); __gdbstub_restore_bp() 467 if (step_bp[1].addr) { __gdbstub_restore_bp() 468 gdbstub_write_byte(step_bp[1].opcode[0], step_bp[1].addr + 0); __gdbstub_restore_bp() 469 gdbstub_write_byte(step_bp[1].opcode[1], step_bp[1].addr + 1); __gdbstub_restore_bp() 472 if (step_bp[0].addr) __gdbstub_restore_bp() 473 gdbstub_write_byte(step_bp[0].opcode[0], step_bp[0].addr + 0); __gdbstub_restore_bp() 474 if (step_bp[1].addr) __gdbstub_restore_bp() 475 gdbstub_write_byte(step_bp[1].opcode[0], step_bp[1].addr + 0); __gdbstub_restore_bp() 480 step_bp[0].addr = NULL; __gdbstub_restore_bp() 481 step_bp[0].opcode[0] = 0; __gdbstub_restore_bp() 482 step_bp[0].opcode[1] = 0; __gdbstub_restore_bp() 483 step_bp[1].addr = NULL; __gdbstub_restore_bp() 484 step_bp[1].opcode[0] = 0; __gdbstub_restore_bp() 485 step_bp[1].opcode[1] = 0; __gdbstub_restore_bp() 497 step_bp[0].addr = NULL; gdbstub_single_step() 498 step_bp[0].opcode[0] = 0; gdbstub_single_step() 499 step_bp[0].opcode[1] = 0; gdbstub_single_step() 500 step_bp[1].addr = NULL; gdbstub_single_step() 501 step_bp[1].opcode[0] = 0; gdbstub_single_step() 502 step_bp[1].opcode[1] = 0; gdbstub_single_step() 700 step_bp[0].opcode[0], step_bp[0].addr, gdbstub_single_step() 701 step_bp[1].opcode[0], step_bp[1].addr); gdbstub_single_step() 703 if (step_bp[0].addr) { gdbstub_single_step() 705 if (gdbstub_write_byte(0xF7, step_bp[0].addr + 0) < 0 || gdbstub_single_step() 706 gdbstub_write_byte(0xF7, step_bp[0].addr + 1) < 0) gdbstub_single_step() 709 if (gdbstub_write_byte(0xFF, step_bp[0].addr + 0) < 0) gdbstub_single_step() 714 if (step_bp[1].addr) { gdbstub_single_step() 716 if (gdbstub_write_byte(0xF7, step_bp[1].addr + 0) < 0 || gdbstub_single_step() 717 gdbstub_write_byte(0xF7, step_bp[1].addr + 1) < 0) gdbstub_single_step() 720 if (gdbstub_write_byte(0xFF, step_bp[1].addr + 0) < 0) gdbstub_single_step() 1213 if ((step_bp[0].addr && step_bp[0].addr == (u8 *) regs->pc) || gdbstub() 1214 (step_bp[1].addr && step_bp[1].addr == (u8 *) regs->pc)) gdbstub()
|
Completed in 74 milliseconds