Bug 5290

Summary: plocation <memory-variable> is always 64-bit
Product: frysk Reporter: Andrew Cagney <cagney>
Component: generalAssignee: Teresa Thomas <tthomas>
Status: RESOLVED FIXED    
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
[0.0]

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
[0.0]

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

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

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