Bug 5563 - Write Debug Register Set/Read Proxy.
Summary: Write Debug Register Set/Read Proxy.
Status: RESOLVED FIXED
Alias: None
Product: frysk
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
: P2 normal
Target Milestone: ---
Assignee: Phil Muldoon
URL:
Keywords:
Depends on:
Blocks: 1625
  Show dependency treegraph
 
Reported: 2008-01-09 11:32 UTC by Phil Muldoon
Modified: 2008-06-09 07:32 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 Phil Muldoon 2008-01-09 11:32:10 UTC
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)
Comment 1 Phil Muldoon 2008-06-09 07:32:40 UTC
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.