Bug 3890 - attach doesn't need a program argument
Summary: attach doesn't need a program argument
Status: RESOLVED FIXED
Alias: None
Product: frysk
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
: P2 normal
Target Milestone: ---
Assignee: Stan Cox
URL:
Keywords:
Depends on:
Blocks: 2246
  Show dependency treegraph
 
Reported: 2007-01-19 22:53 UTC by Andrew Cagney
Modified: 2007-02-22 15:24 UTC (History)
0 users

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Cagney 2007-01-19 22:53:08 UTC
for instance, instead of:

  (fhpd) attach my-program 1234

just:

  (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
Testcase?
Comment 4 Stan Cox 2007-02-22 15:24:25 UTC
I'm adding a test a part of the TestFhd cleanup.