Home
last modified time | relevance | path

Searched refs:stepped_address (Results 1 – 3 of 3) sorted by relevance

/linux/arch/riscv/kernel/
H A Dkgdb.c23 static unsigned long stepped_address; variable
134 stepped_address = addr; in do_single_step()
137 error = copy_to_kernel_nofault((void *)stepped_address, in do_single_step()
147 stepped_address = 0; in do_single_step()
157 copy_to_kernel_nofault((void *)stepped_address, in undo_single_step()
159 flush_icache_range(stepped_address, in undo_single_step()
160 stepped_address + BREAK_INSTR_SIZE); in undo_single_step()
162 stepped_address = 0; in undo_single_step()
313 if (stepped_address == addr) in kgdb_riscv_kgdbbreak()
/linux/arch/loongarch/kernel/
H A Dkgdb.c27 static unsigned long stepped_address; variable
255 if (kgdb_handle_exception(regs->csr_era == stepped_address ? 0 : args->trapnr, in kgdb_loongarch_notify()
395 stepped_address = addr; in do_single_step()
398 error = copy_to_kernel_nofault((void *)stepped_address, in do_single_step()
404 stepped_address = 0; in do_single_step()
417 copy_to_kernel_nofault((void *)stepped_address, in undo_single_step()
419 flush_icache_range(stepped_address, stepped_address + BREAK_INSTR_SIZE); in undo_single_step()
423 stepped_address = 0; in undo_single_step()
/linux/arch/sh/kernel/
H A Dkgdb.c135 static unsigned long stepped_address; variable
143 stepped_address = (int)addr; in do_single_step()
160 __raw_writew(stepped_opcode, stepped_address); in undo_single_step()
161 flush_icache_range(stepped_address, stepped_address + 2); in undo_single_step()