• Jeff Dike's avatar
    [PATCH] uml: ptrace interface cleanup · a98c04a3
    Jeff Dike authored
    From: Bodo Stroesser, mostly:
    
    Gets rid of all inclusions of {sys,linux,asm}/ptrace.h since their effects and
    contents are somewhat distro- and architecture-dependent.
    arch/um/sysdep/ptrace_user is now responsible for providing the system's
    ptrace interfaces to UML.
    
    As such, it is a purely userspace header, and this exposed a couple of places
    where kernel files were including it.  One of them needed MAX_REG_OFFSET, so
    this was provided by adding a new generated header, user-constants.h, which
    includes this.
    
    Also, changed PTRACE_{PEEK,POKE}_USER to _USR since that seems to be more
    standard.
    Signed-off-by: default avatarJeff Dike <jdike@addtoit.com>
    Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
    a98c04a3
gdb.c 5.45 KB