linux/arch/um/sys-i386
Bodo Stroesser 82c1c11bdd [PATCH] uml: S390 preparation, peekusr/pokeusr defined by subarch
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>
2005-05-06 22:09:29 -07:00
..
util [PATCH] uml: cross-build support : mk_thread 2005-05-05 16:36:35 -07:00
Makefile [PATCH] uml kbuild: avoid useless rebuilds 2005-05-05 16:36:33 -07:00
bugs.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
checksum.S [PATCH] uml: s390 preparation, checksumming done in arch code 2005-05-05 16:36:38 -07:00
delay.c [PATCH] uml: s390 preparation, delay moved to arch 2005-05-05 16:36:38 -07:00
fault.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
kernel-offsets.c [PATCH] uml: cross-build support : kernel_offsets 2005-05-05 16:36:35 -07:00
ksyms.c [PATCH] uml: s390 preparation, delay moved to arch 2005-05-05 16:36:38 -07:00
ldt.c [PATCH] uml: fix a ptrace call 2005-05-05 16:36:36 -07:00
ptrace.c [PATCH] uml: S390 preparation, peekusr/pokeusr defined by subarch 2005-05-06 22:09:29 -07:00
ptrace_user.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sigcontext.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
signal.c [PATCH] uml: S390 preparation, abstract host page fault data 2005-05-05 16:36:36 -07:00
sys_call_table.S [PATCH] uml: fix syscall table by including $(SUBARCH)'s one, for i386 2005-05-01 08:58:55 -07:00
syscalls.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sysrq.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
user-offsets.c [PATCH] uml: start cross-build support : mk_user_constants 2005-05-05 16:36:34 -07:00