mirror of
https://github.com/torvalds/linux.git
synced 2024-11-30 16:11:38 +00:00
82c1c11bdd
s390 needs to change some parts of arch/um/kernel/ptrace.c. Thus, the code regarding PEEKUSER and POKEUSER are shifted to arch/um/sys-<subarch>/ptrace.c. Also s390 debug registers need to be updated, when singlestepping is switched on / off. Thus, setting/resetting of singlestepping is centralized in the new function set_singlestep(), which also inserts the macro SUBARCH_SET_SINGLESTEP(mode), if defined. Finally, s390 has the "ieee_instruction_pointer" in its registers, which also is allowed to be read via ptrace( PTRACE_PEEKUSER, getpid(), PT_IEEE_IP, 0); To implement this feature, sys_ptrace inserts the macro SUBARCH_PTRACE_SPECIAL, if defined. Signed-off-by: Bodo Stroesser <bstroesser@fujitsu-siemens.com> Signed-off-by: Jeff Dike <jdike@addtoit.com> Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org> |
||
---|---|---|
.. | ||
skas | ||
tt | ||
checksum.c | ||
config.c.in | ||
dyn.lds.S | ||
exec_kern.c | ||
exitcode.c | ||
gmon_syms.c | ||
gprof_syms.c | ||
helper.c | ||
init_task.c | ||
initrd_kern.c | ||
initrd_user.c | ||
irq_user.c | ||
irq.c | ||
ksyms.c | ||
main.c | ||
Makefile | ||
mem_user.c | ||
mem.c | ||
physmem.c | ||
process_kern.c | ||
process.c | ||
ptrace.c | ||
reboot.c | ||
resource.c | ||
sigio_kern.c | ||
sigio_user.c | ||
signal_kern.c | ||
signal_user.c | ||
smp.c | ||
syscall_kern.c | ||
syscall_user.c | ||
sysrq.c | ||
tempfile.c | ||
time_kern.c | ||
time.c | ||
tlb.c | ||
trap_kern.c | ||
trap_user.c | ||
tty_log.c | ||
uaccess_user.c | ||
um_arch.c | ||
umid.c | ||
uml.lds.S | ||
user_util.c | ||
vmlinux.lds.S |