mirror of https://gitee.com/openkylin/linux.git
s390/ptrace: clarify bits in the per_struct
The bits single_step and instruction_fetch lost their meaning
with git commit 5e9a26928f
"[S390] ptrace cleanup".
Clarify the comment for these two bits.
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
This commit is contained in:
parent
c3bdf2e11a
commit
25d539c9a9
|
@ -359,9 +359,9 @@ typedef struct
|
||||||
per_cr_bits bits;
|
per_cr_bits bits;
|
||||||
} control_regs;
|
} control_regs;
|
||||||
/*
|
/*
|
||||||
* Use these flags instead of setting em_instruction_fetch
|
* The single_step and instruction_fetch bits are obsolete,
|
||||||
* directly they are used so that single stepping can be
|
* the kernel always sets them to zero. To enable single
|
||||||
* switched on & off while not affecting other tracing
|
* stepping use ptrace(PTRACE_SINGLESTEP) instead.
|
||||||
*/
|
*/
|
||||||
unsigned single_step : 1;
|
unsigned single_step : 1;
|
||||||
unsigned instruction_fetch : 1;
|
unsigned instruction_fetch : 1;
|
||||||
|
|
Loading…
Reference in New Issue