Write Debug Register set proxy (investigate, might be wrong pattern) to allow for non-byte-twiddling setting of breakpoint (abstract the byte poking to event based programming)
2008-04-03 Phil Muldoon <pmuldoon@redhat.com> * WatchpointFunctions.java (readStatusRegister): Declare. (readControlRegister): Reduce scope to protected. * IA32WatchpointFunctions.java (readStatusRegister): Implement. (hasWatchpointTriggered): Use readStatusRegister. (deleteWatchpoint): Use readControlRegister. (readWatchpoint): Ditto. (setWatchpoint): Ditto. * X8664WatchpointFunctions.java (readStatusRegister): Ditto. (hasWatchpointTriggered): use readStatusRegister. (deleteWatchpoint): Use readControlRegister. (readWatchpoint): Ditto. (setWatchpoint): Ditto. 2008-04-02 Phil Muldoon <pmuldoon@redhat.com> * TestWatchpoint.java (Symbol.Symbol): New temporary class to resolve Elf symbols. (getGlobalSymbolAddress): New function. (testWatchFourBytesBitPattern): Adjust to use funit-watchpoints.S. GetAddress from Watchpoint.java (testWatchTwoBytesBitPattern): Ditto. (testWatchOneByteBitPattern): Ditto. (testGetAllWatchpoints): New. * IA32WatchpointFunctions.java (setWatchpoint): Delete localOnly flag. Remove local/global breakpoint bit logic. (readWatchpoint): Rewrite. Return Watchpoint. * X8664WatchpointFunctions.java (setWatchpoint): Delete localOnly flag. Remove local/global breakpoint bit logic. (readWatchpoint): Rewrite. Return Watchpoint. * WatchpointFunctions.java (getAllWatchpoints): New. Implement. (setWatchpoint): Remove localOnly flag. (readWatchpoint): return a Watchpoint class over a long. 2008-04-02 Phil Muldoon <pmuldoon@redhat.com> * Watchpoint.java: Refactor to WatchpointFunctions.java * IA32Watchpoint.java: Refactor to IA32WatchpointFunctions.java * X8664Watchpoint.java: Refactor to X8664WatchpointFunctions.java * WatchpointFactory.java: Refactor to WatchpointFunctionFactory.javs * TestWatchpoints.java: Update. 2008-04-01 Phil Muldoon <pmuldoon@redhat.com> * Watchpoint.java (hasWatchpointTriggered): Define. * IA32Watchpoint.java (hasWatchpointTriggered): Implement. * X8664Watchpoint.java (hasWatchpointTriggered): Ditto. 2008-03-28 Phil Muldoon <pmuldoon@redhat.com> * Watchpoint.java: New. Initial Implementation. * WatchpointFactory.java: Ditto. * IA32Watchpoint.java: Ditto. * X8664Watchpoint.java: Ditto. * TestWatchpoint.java: Ditto. * package.html: Ditto.