Bug 6605

Summary: run tries to kill a pid loaded by the core command
Product: frysk Reporter: Rick Moseley <rmoseley>
Component: generalAssignee: Rick Moseley <rmoseley>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P2    
Version: unspecified   
Target Milestone: ---   
Host: Target:
Build: Last reconfirmed:
Bug Depends on:    
Bug Blocks: 2246    

Description Rick Moseley 2008-06-06 20:13:14 UTC
When a "core" command is issued followed by a "run" command, a "kill" is done on
the PID in the proc, which the PID of the process when it was core-dumped.  Not
a nice thing if there happens to be a currently-running process with that PID.

(fhpd) core core.6612
Attached to core file: core.6612
(fhpd) run
LoadCommand:load setting frame
Killing process 6612 that was created from
/home/rmoseley/frysk-git3/build/frysk-core/frysk/pkglibdir/funit-parameters
[1.0] Loaded executable file:
/home/rmoseley/frysk-git3/build/frysk-core/frysk/pkglibdir/funit-parameters
running with this command:
/home/rmoseley/frysk-git3/build/frysk-core/frysk/pkglibdir/funit-parameters 123
Attached to process 7978
Running process 7978
(fhpd) Task 7978 is exiting with status 0
Comment 1 Rick Moseley 2008-06-10 17:20:59 UTC
Fixed in HEAD.