diff options
author | Paul Mackerras <paulus@samba.org> | 2010-06-23 15:46:55 +1000 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2010-06-23 15:46:55 +1000 |
commit | 76b0f1337690d223811c852ad3a5078eb89276c5 (patch) | |
tree | 5deeecb1c815a97681ea548b226d38d369a51772 /Kbuild | |
parent | 574cb24899d35e71be1d8fb1add2c3306804e4bf (diff) | |
download | talos-op-linux-76b0f1337690d223811c852ad3a5078eb89276c5.tar.gz talos-op-linux-76b0f1337690d223811c852ad3a5078eb89276c5.zip |
powerpc, hw_breakpoint: Cooperate better with other single-steppers
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: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'Kbuild')
0 files changed, 0 insertions, 0 deletions