Bug 1587

Summary: attach to a sleeping process
Product: frysk Reporter: Andrew Cagney <cagney>
Component: generalAssignee: Nurdin Premji <npremji>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P1    
Version: unspecified   
Target Milestone: ---   
Host: Target:
Build: Last reconfirmed:
Bug Depends on:    
Bug Blocks: 1553, 3265    

Description Andrew Cagney 2005-10-28 19:49:50 UTC
A linux sleeping (suspended) process, when attached, does not generate a
wait-stopped event.  This can leave the state machine dangling.
Comment 1 Andrew Cagney 2006-11-22 16:41:32 UTC
State?
Comment 2 Nurdin Premji 2006-11-27 17:59:58 UTC
I'm not sure what the problem is here. I've tried fstack and FryskGui both on
evolution and they seem to work fine.
Comment 3 Nurdin Premji 2006-11-27 18:13:45 UTC
fixed
10-11-2006
frysk-core/frysk/proc
	* LinuxTask.java (sendAttach): Manually tell the thread that the process
	has been attached Fixes 3316.
	* TestProcStopped.java: Added license.
	(stopped): Added.
	(running): Ditto.
	(testStoppedDetached):
	(testStoppedAttached):
	(testRunningAckDaemon): 
	(testRunningDetached): 
	(testRunningAttached): Ditto.
	(testStoppedAckDaemon): Changed to use stopped.
	(MyTester): Changed to stop eventloop after an attach.