Bug 3890

Summary: attach doesn't need a program argument
Product: frysk Reporter: Andrew Cagney <cagney>
Component: generalAssignee: Stan Cox <scox>
Severity: normal    
Priority: P2    
Version: unspecified   
Target Milestone: ---   
Host: Target:
Build: Last reconfirmed:
Bug Depends on:    
Bug Blocks: 2246    

Description Andrew Cagney 2007-01-19 22:53:08 UTC
for instance, instead of:

  (fhpd) attach my-program 1234


  (fhpd) attach 1234

is suffcient as the program can be obtained from the running executable.

The HPD command set, has querks that I think can be traced back to trying to
support remote systems - "pid" might be remote, program local.
Comment 1 Stan Cox 2007-02-21 21:56:55 UTC
* hpd/CLI.java (attach): Don't require executable name.

(fhpd) attach 14901
runState state = 0
Attached to process 14901
Comment 2 Stan Cox 2007-02-21 21:57:38 UTC
Comment 3 Andrew Cagney 2007-02-22 14:16:31 UTC
Comment 4 Stan Cox 2007-02-22 15:24:25 UTC
I'm adding a test a part of the TestFhd cleanup.