Bug 5290 - plocation <memory-variable> is always 64-bit
Summary: plocation <memory-variable> is always 64-bit
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:
Blocks: 2246 5294
  Show dependency treegraph
 
Reported: 2007-11-07 21:01 UTC by Andrew Cagney
Modified: 2008-01-14 21:06 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-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.