Bug 5844

Summary: next when not stopped hangs or gives errors
Product: frysk Reporter: Andrew Cagney <cagney>
Component: generalAssignee: Unassigned <frysk-bugzilla>
Status: NEW ---    
Severity: normal    
Priority: P2    
Version: unspecified   
Target Milestone: ---   
Host: Target:
Build: Last reconfirmed:
Bug Depends on:    
Bug Blocks: 5829    

Description Andrew Cagney 2008-03-03 21:21:28 UTC
$ ./frysk/bindir/fhpd ./frysk/pkglibdir/hpd-c
Loaded executable file:
/home/scratch/frysk/git/native/frysk-core/./frysk/pkglibdir/hpd-c
(fhpd) run -loop
Attached to process 9386
starting/running with this command:
/home/scratch/frysk/git/native/frysk-core/./frysk/pkglibdir/hpd-c -loop 
Running process 9386
(fhpd) next
Error: ptrace: No such process (op 0xc (PTRACE_GETREGS), pid 9386, addr 0x0,
data 0xb723d918)
(fhpd) 

the hpd should be tracking it's local process state and only attempting to apply
the next to processes that, at that point, have stopped.