Bug 6633 - Specify explicitly if watched value being written to is identical to previous value
Summary: Specify explicitly if watched value being written to is identical to previous...
Status: RESOLVED FIXED
Alias: None
Product: frysk
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
: P2 normal
Target Milestone: ---
Assignee: Teresa Thomas
URL:
Keywords:
Depends on: 6648
Blocks: 1625 6622
  Show dependency treegraph
 
Reported: 2008-06-11 20:19 UTC by Teresa Thomas
Modified: 2008-06-17 15:35 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 Teresa Thomas 2008-06-11 20:19:48 UTC
When a write triggered watchpoint hits a write where value written to is the
same as previous value, the user sees:

(fhpd) Watchpoint hit: float_
   Value before hit = 1.9
   Value after  hit = 1.9

This can be confusing. Specify explicitly that value has not changed.
Comment 1 Teresa Thomas 2008-06-16 15:02:16 UTC
Can be resolved more efficiently after resolving 6648.
Comment 2 Teresa Thomas 2008-06-17 15:35:32 UTC
Commit:
    Fixes bz#6633. Dislay message if value unchanged before and after watch hit.
    
    frysk-core/frysk/hpd/ChangeLog:
    2008-06-17  Teresa Thomas  <tthomas@redhat.com>
    
    	* WatchObserverInstaller.java
    	(WatchpointObserver.updateHit): Print message if value
    	unchanged before and after access.

fhpd:

(fhpd) Watchpoint hit: float_
   Value before hit = 1.9
   Value after  hit = 1.9
Note: Value unchanged before and after access