/* After we have successfully emulated an instruction, we have to check if the instruction was being single-stepped, and if so, pretend we got a single-step exception. This was pointed out by Kumar Gala.  */
static void emulate_single_step(struct pt_regs *regs)
/* After we have successfully emulated an instruction, we have to check if the instruction was being single-stepped, and if so, pretend we got a single-step exception. This was pointed out by Kumar Gala.  */
static void emulate_single_step(struct pt_regs *regs)
{
	if (single_stepping(regs)) {
		clear_single_step(regs);
		_exception(SIGTRAP, regs, TRAP_TRACE, 0);
	}
}