Bug 5799 - Listing error occurs when duplicate exectables are loaded/unloaded
Summary: Listing error occurs when duplicate exectables are loaded/unloaded
Status: RESOLVED FIXED
Alias: None
Product: frysk
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
: P2 normal
Target Milestone: ---
Assignee: Rick Moseley
URL:
Keywords:
Depends on:
Blocks: 2246
  Show dependency treegraph
 
Reported: 2008-02-28 05:29 UTC by Rick Moseley
Modified: 2008-02-28 05:34 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 Rick Moseley 2008-02-28 05:29:11 UTC
When 2 executables are loaded via the load command and then one unloaded,
load/unload should list the 1 remaining when no parameters are given, instead
nothing is listed.  Here is the sequence to duplicate:

(fhpd) load ../pkglibdir/funit-hello         
Loaded executable file: ../pkglibdir/funit-hello
(fhpd) load ../pkglibdir/funit-hello         
Loaded executable file: ../pkglibdir/funit-hello
(fhpd) load
Target set      pid     id      path-to-executable
[0.0]           0       0      
/home/rmoseley/frysk-git3/build/frysk-core/frysk/bindir/../pkglibdir/funit-hello
[1.0]           0       0      
/home/rmoseley/frysk-git3/build/frysk-core/frysk/bindir/../pkglibdir/funit-hello
(fhpd) unload -t 0
Removed Target id [0]
(fhpd)load
Target set      pid     id      path-to-executable
(fhpd)


The above "load" command should print this:

Target set      pid     id      path-to-executable
[1.0]           0       0      
/home/rmoseley/frysk-git3/build/frysk-core/frysk/bindir/../pkglibdir/funit-hello
Comment 1 Rick Moseley 2008-02-28 05:34:01 UTC
Fixed in HEAD.

* ViewsetCommand.java: Fix error when duplicate executables are
  loaded/unloaded(bz 5799).