• D
    [PATCH] sparc: Fix PTRACE_CONT bogosity · fb65b961
    David S. Miller 提交于
    SunOS aparently had this weird PTRACE_CONT semantic which
    we copied.  If the addr argument is something other than
    1, it sets the process program counter to whatever that
    value is.
    
    This is different from every other Linux architecture, which
    don't do anything with the addr and data args.
    
    This difference in particular breaks the Linux native GDB support
    for fork and vfork tracing on sparc and sparc64.
    
    There is no interest in running SunOS binaries using this weird
    PTRACE_CONT behavior, so just delete it so we behave like other
    platforms do.
    Signed-off-by: NDavid S. Miller <davem@davemloft.net>
    Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
    fb65b961
ptrace.c 15.7 KB