Home
last modified time | relevance | path

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

/external/valgrind/coregrind/m_gdbserver/
Dvalgrind-low-mips32.c215 Addr bpaddr = pc; in mips_adjust_breakpoint_address() local
221 if (bpaddr & 0x80000000) /* kernel segment */ in mips_adjust_breakpoint_address()
231 if (VG_(get_inst_offset_in_function) (bpaddr, &offset)) { in mips_adjust_breakpoint_address()
232 func_addr = bpaddr - offset; in mips_adjust_breakpoint_address()
233 if (func_addr > boundary && func_addr <= bpaddr) in mips_adjust_breakpoint_address()
237 if (bpaddr == boundary) in mips_adjust_breakpoint_address()
238 return bpaddr; in mips_adjust_breakpoint_address()
241 prev_addr = bpaddr - 4; in mips_adjust_breakpoint_address()
243 bpaddr = prev_addr; in mips_adjust_breakpoint_address()
245 return bpaddr; in mips_adjust_breakpoint_address()
Dvalgrind-low-mips64.c216 Addr bpaddr = pc; in mips_adjust_breakpoint_address() local
222 if (bpaddr & 0x80000000) /* kernel segment */ in mips_adjust_breakpoint_address()
232 if (VG_(get_inst_offset_in_function) (bpaddr, &offset)) { in mips_adjust_breakpoint_address()
233 func_addr = bpaddr - offset; in mips_adjust_breakpoint_address()
234 if (func_addr > boundary && func_addr <= bpaddr) in mips_adjust_breakpoint_address()
238 if (bpaddr == boundary) in mips_adjust_breakpoint_address()
239 return bpaddr; in mips_adjust_breakpoint_address()
242 prev_addr = bpaddr - 4; in mips_adjust_breakpoint_address()
244 bpaddr = prev_addr; in mips_adjust_breakpoint_address()
246 return bpaddr; in mips_adjust_breakpoint_address()