Bug 5290

Summary: plocation <memory-variable> is always 64-bit
Product: frysk Reporter: Andrew Cagney <cagney>
Component: generalAssignee: Teresa Thomas <tthomas>
Severity: normal    
Priority: P2    
Version: unspecified   
Target Milestone: ---   
Host: Target:
Build: Last reconfirmed:
Bug Depends on:    
Bug Blocks: 2246, 5294    

Description Andrew Cagney 2007-11-07 21:01:07 UTC
(fhpd) plocation argv

Address 0xffffffffbfc9cd04 - 4 byte(s)
Comment 1 Teresa Thomas 2007-11-12 20:34:31 UTC
Bug reproducible only for arguments to main so far (32 bit). Does not sign
extend plocation on arguments to non-main methods, and declared variables.

(fhpd) plocation argc

Address 0xffffffffbfdf5560 - 4 byte(s)
(fhpd) plocation a   // where a is argument to a non main function.

Address 0xbfceb420 - 4 byte(s)
(fhpd) plocation static_int_address 

Address 0x804988c - 4 byte(s)
Comment 2 Teresa Thomas 2008-01-14 21:06:06 UTC
    Fix sign extension bug with breg operation.
    2008-01-14  Teresa Thomas  <tthomas@redhat.com>
    	* TestLocationExpression.java (testOverFlow): New.
    	* LocationExpression.java (decode): Mask out
    	sign extension for BREG locations.