Lines Matching refs:pc
255 compute_next_pc_for_16bit_insn(unsigned long insn, unsigned long pc, in compute_next_pc_for_16bit_insn() argument
266 if (pc & 3) in compute_next_pc_for_16bit_insn()
281 *next_pc = (pc & ~0x3) + disp; in compute_next_pc_for_16bit_insn()
289 *next_pc = (pc & ~0x3) + disp; in compute_next_pc_for_16bit_insn()
296 *next_pc = (pc & ~0x3) + disp; in compute_next_pc_for_16bit_insn()
352 *next_pc = pc + 4; in compute_next_pc_for_16bit_insn()
354 *next_pc = pc + 2; in compute_next_pc_for_16bit_insn()
358 compute_next_pc_for_32bit_insn(unsigned long insn, unsigned long pc, in compute_next_pc_for_32bit_insn() argument
375 *next_pc = (pc & ~0x3) + disp; in compute_next_pc_for_32bit_insn()
383 *next_pc = (pc & ~0x3) + disp; in compute_next_pc_for_32bit_insn()
390 *next_pc = (pc & ~0x3) + disp; in compute_next_pc_for_32bit_insn()
408 *next_pc = (pc & ~0x3) + disp; in compute_next_pc_for_32bit_insn()
414 *next_pc = pc + 4; in compute_next_pc_for_32bit_insn()
418 compute_next_pc(unsigned long insn, unsigned long pc, in compute_next_pc() argument
422 compute_next_pc_for_32bit_insn(insn, pc, next_pc, child); in compute_next_pc()
424 compute_next_pc_for_16bit_insn(insn, pc, next_pc, child); in compute_next_pc()
585 unsigned long pc, insn; in user_enable_single_step() local
590 pc = get_stack_long(child, PT_BPC); in user_enable_single_step()
592 if (access_process_vm(child, pc&~3, &insn, sizeof(insn), 0) in user_enable_single_step()
596 compute_next_pc(insn, pc, &next_pc, child); in user_enable_single_step()