Bug 5417 - When one thread, hide "[0.0]" focus?
Summary: When one thread, hide "[0.0]" focus?
Status: RESOLVED FIXED
Alias: None
Product: frysk
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
: P2 normal
Target Milestone: ---
Assignee: Nurdin Premji
URL:
Keywords:
Depends on:
Blocks: 2246 5421
  Show dependency treegraph
 
Reported: 2007-11-27 19:50 UTC by Andrew Cagney
Modified: 2008-01-24 23:01 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-11-27 19:50:29 UTC
As an extension, when iterating through all threads but there is only one, don't
bother prefixing the output with that thread's focus.  I.e., instead of:
  (fhpd) print i
  [0.0]
  1
   (fhpd)
print:
   (fhpd) print i
   1
   (fhpd)
Comment 1 Nurdin Premji 2008-01-24 23:01:33 UTC
Fixed.

The branch, master has been updated
       via  7a7b1daa37efb9051540f89f92b27e4ed04d6f30 (commit)
      from  731d52ca58b0f4fff40f44af122e7e7cd700d9b4 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email.

- Log -----------------------------------------------------------------
commit 7a7b1daa37efb9051540f89f92b27e4ed04d6f30
Author: Nurdin Premji <nurdin@localhost.localdomain>
Date:   Thu Jan 24 17:43:07 2008 -0500

    frysk-core/frysk/hpd/TaskData only print task id if more than one task

-----------------------------------------------------------------------

Summary of changes:
 frysk-core/frysk/hpd/ChangeLog          |   13 +++++++++++++
 frysk-core/frysk/hpd/EvalCommands.java  |    3 +--
 frysk-core/frysk/hpd/StackCommands.java |    6 ++----
 frysk-core/frysk/hpd/TaskData.java      |   27 ++++++++++++++++++---------
 4 files changed, 34 insertions(+), 15 deletions(-)