linux/arch/um
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
..
drivers [PATCH] uml: inclusion cleanup 2005-05-05 16:36:37 -07:00
include [PATCH] uml: command line handling cleanup 2005-05-06 22:09:29 -07:00
kernel [PATCH] uml: S390 preparation, peekusr/pokeusr defined by subarch 2005-05-06 22:09:29 -07:00
os-Linux [PATCH] uml: s390 preparation, sighandler interface abstraction 2005-05-05 16:36:38 -07:00
scripts [PATCH] uml: tidy Makefile.rules 2005-05-05 16:36:36 -07:00
sys-i386 [PATCH] uml: S390 preparation, peekusr/pokeusr defined by subarch 2005-05-06 22:09:29 -07:00
sys-ia64 Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sys-ppc [PATCH] uml: S390 preparation, peekusr/pokeusr defined by subarch 2005-05-06 22:09:29 -07:00
sys-x86_64 [PATCH] uml: S390 preparation, peekusr/pokeusr defined by subarch 2005-05-06 22:09:29 -07:00
util [PATCH] uml: cross-build support : mk_task and mk_constants 2005-05-05 16:36:35 -07:00
config.release Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
defconfig [PATCH] uml: support AES i586 crypto driver 2005-05-01 08:58:54 -07:00
Kconfig [PATCH] uml: support AES i586 crypto driver 2005-05-01 08:58:54 -07:00
Kconfig_char Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
Kconfig_i386 [PATCH] uml: support AES i586 crypto driver 2005-05-01 08:58:54 -07:00
Kconfig_net Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
Kconfig_scsi Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
Kconfig_x86_64 [PATCH] uml: support AES i586 crypto driver 2005-05-01 08:58:54 -07:00
Kconfig.debug Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
Makefile [PATCH] uml: remove a dangling symlink 2005-05-05 16:36:38 -07:00
Makefile-i386 [PATCH] uml: cross-build support : mk_thread 2005-05-05 16:36:35 -07:00
Makefile-ia64 Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
Makefile-os-Linux Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
Makefile-ppc Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
Makefile-skas Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
Makefile-tt Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
Makefile-x86_64 [PATCH] uml: cross-build support : mk_thread 2005-05-05 16:36:35 -07:00