Home
last modified time | relevance | path

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

/linux-6.1.9/arch/riscv/kernel/
Dkgdb.c23 static unsigned long stepped_address; variable
153 stepped_address = addr; in do_single_step()
156 error = copy_to_kernel_nofault((void *)stepped_address, in do_single_step()
166 stepped_address = 0; in do_single_step()
176 copy_to_kernel_nofault((void *)stepped_address, in undo_single_step()
178 flush_icache_range(stepped_address, in undo_single_step()
179 stepped_address + BREAK_INSTR_SIZE); in undo_single_step()
181 stepped_address = 0; in undo_single_step()
325 if (stepped_address == addr) in kgdb_riscv_kgdbbreak()
/linux-6.1.9/arch/sh/kernel/
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()