lkml.org 
[lkml]   [2011]   [Mar]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [RFC] Proposal for ptrace improvements
    Hello,

    On Tue, Mar 01, 2011 at 11:14:14PM +0100, Denys Vlasenko wrote:
    > There may be reasons to have PTRACE_SEIZE operation split like that.
    > For one, this allows debugger to do PTRACE_CONT, and later issue
    > PTRACE_INTERRUPT to stop the tracee again. PTRACE_INTERRUPT stop may
    > be better for some scenarios where debugger wants to make the stop
    > invisible to the parent, or when debugger wants to stop just one
    > thread of the process.

    PTRACE_SEIZE can be used like PTRACE_INTERRUPT. It works whether the
    tracee is attached or not.

    Thanks.

    --
    tejun


    \
     
     \ /
      Last update: 2011-03-02 08:31    [W:3.420 / U:0.072 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site