Bug 6531

Summary: Low level hardware watchpoint support should check, and reject, incorrectly aligned addresses
Product: frysk Reporter: Phil Muldoon <pmuldoon>
Component: generalAssignee: Phil Muldoon <pmuldoon>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P2    
Version: unspecified   
Target Milestone: ---   
Host: Target:
Build: Last reconfirmed:
Bug Depends on:    
Bug Blocks: 1625    

Description Phil Muldoon 2008-05-20 08:49:49 UTC
An unaligned address should be rejected as per hardware manual specifications as
noted in each ISAs specification.
Comment 1 Phil Muldoon 2008-05-20 08:50:57 UTC
commit e62c4482adaf39915db4f42983327a7b715d316a
Author: Phil Muldoon <pmuldoon@redhat.com>
Date:   Tue May 13 15:37:46 2008 +0100

    Check memory address alignment before setting watchpoint.
    
    2008-05-13  Phil Muldoon  <pmuldoon@redhat.com>
    
    	* TestTaskObserverWatchpoint.java (testAddFailed): Add alignment test.
    
    2008-05-13  Phil Muldoon  <pmuldoon@redhat.com>
    
    	* IA32WatchpointFunctions.java (setWatchpoint): Add alignment check.
    	* X8664WatchpointFunctions.java (setWatchpoint): Ditto.