[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: kern/46933: Can not find out wether a process is debugged
The following reply was made to PR kern/46933; it has been noted by GNATS.
From: David Holland <dholland-bugs%netbsd.org@localhost>
Subject: Re: kern/46933: Can not find out wether a process is debugged
Date: Tue, 11 Sep 2012 18:21:07 +0000
On Tue, Sep 11, 2012 at 09:00:07AM +0000, Martin Husemann wrote:
> On Tue, Sep 11, 2012 at 05:25:02AM +0000, David Holland wrote:
> > ps seems to still be able to retrieve this information; what mechanism
> > does it use?
> How do you get it to display it?
% gdb /bin/cat
(gdb) break main
% ps -xT
PID TTY STAT TIME COMMAND
7963 pts/14 Ss 0:00.04 -tcsh
13993 pts/14 T 0:00.02 gdb /bin/cat
23139 pts/14 TX 0:00.01 /bin/cat
28280 pts/14 O+ 0:00.00 ps -xT
X The process is being traced or debugged.
This is on an amd64 6.99.11 from this past Thursday.
David A. Holland
Main Index |
Thread Index |