Bug 4576 - DisplayValue can retrieve a value despite a masking variable
Summary: DisplayValue can retrieve a value despite a masking variable
Status: RESOLVED FIXED
Alias: None
Product: frysk
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
: P2 normal
Target Milestone: ---
Assignee: Adam Jocksch
URL:
Keywords:
Depends on:
Blocks: 4547
  Show dependency treegraph
 
Reported: 2007-05-31 17:40 UTC by Adam Jocksch
Modified: 2007-06-13 16:14 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 Adam Jocksch 2007-05-31 17:40:28 UTC
If there is a variable in a more recent scope with the same description as the
one being tracked by a DisplayValue, the DisplayValue should still be able to
retrieve the value of the original variable.
Comment 1 Adam Jocksch 2007-06-13 16:14:05 UTC
This now works correctly, as verified by TestDisplay.testVarMasked().

frysk-core/frysk/rt:
2007-06-13  Adam Jocksch  <ajocksch@redhat.com>

	* DisplayValue.java (refresh): Now calls DebugInfo.refresh(Frame).
	* TestDisplayValue.java (testVarMasked): Enabled, fixes
	bz#4576.