summaryrefslogtreecommitdiff
path: root/drivers/s390
diff options
context:
space:
mode:
authorMartin Schwidefsky <schwidefsky@de.ibm.com>2011-10-30 15:16:07 +0100
committerGreg Kroah-Hartman <gregkh@suse.de>2011-11-11 09:43:22 -0800
commit98ef836b07bd10dec2b07d2c11a6357f7909f978 (patch)
tree1e1ec0c0e2983b671a1bd5fce60d3c2b53c5e8ac /drivers/s390
parent715afafe876a366e0d71d98cdee585e0c7f64044 (diff)
downloadlwn-98ef836b07bd10dec2b07d2c11a6357f7909f978.tar.gz
lwn-98ef836b07bd10dec2b07d2c11a6357f7909f978.zip
user per registers vs. ptrace single stepping
commit a45aff5285871bf7be1781d9462d3fdbb6c913f9 upstream. git commit 5e9a2692 "[S390] ptrace cleanup" introduced a regression for the case when both a user PER set (e.g. a storage alteration trace) and PTRACE_SINGLESTEP are active. The new code will overrule the user PER set with a instruction-fetch PER set over the whole address space for ptrace single stepping. The inferior process will be stopped after each instruction with an instruction fetch event. Any other events that may have occurred concurrently are not reported (e.g. storage alteration event) because the control bits for them are not set. The solution is to merge the PER control bits of the user PER set with the PER_EVENT_IFETCH control bit for PTRACE_SINGLESTEP. Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/s390')
0 files changed, 0 insertions, 0 deletions