• Paul Mackerras's avatar
    powerpc, hw_breakpoint: Cooperate better with other single-steppers · 76b0f133
    Paul Mackerras authored
    The code we had to clear the MSR_SE bit was not doing anything because
    the caller (ultimately single_step_exception() in traps.c) had already
    cleared.  Instead of trying to leave MSR_SE set if the TIF_SINGLESTEP
    flag is set (which indicates that the process is being single-stepped
    by ptrace), we instead return NOTIFY_DONE in that case, which means
    the caller will generate a SIGTRAP for the process.
    Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
    76b0f133
hw_breakpoint.c 8.84 KB