public inbox for frysk-cvs@sourceware.org
help / color / mirror / Atom feed
From: pmuldoon@sourceware.org
To: frysk-cvs@sourceware.org
Subject: [SCM]  master: Publish watchpoint interfaces.
Date: Tue, 01 Apr 2008 14:24:00 -0000	[thread overview]
Message-ID: <20080401142456.31091.qmail@sourceware.org> (raw)

The branch, master has been updated
       via  7c7ed873d17e51c732952f9194a8f7e6dfd635db (commit)
      from  3320ba30bfea0b4d2eda0c7f368834097dcde46a (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email.

- Log -----------------------------------------------------------------
commit 7c7ed873d17e51c732952f9194a8f7e6dfd635db
Author: Phil Muldoon <pmuldoon@redhat.com>
Date:   Tue Apr 1 15:23:03 2008 +0100

    Publish watchpoint interfaces.
    
    2008-04-01  Phil Muldoon  <pmuldoon@redhat.com>
    
    	* Task.java (requestAddWatchObserver): Publish.
    	requestDeleteWatchObserver: Ditto.
    
    2008-04-01  Phil Muldoon  <pmuldoon@redhat.com>
    
    	* DeadTask.java (requestAddWatchObserver): Implement.
    	requestDeleteWatchObserver: Ditto.
    
    2008-04-01  Phil Muldoon  <pmuldoon@redhat.com>
    
    	* DummyTask.java (requestAddWatchObserver): Implement.
    	requestDeleteWatchObserver: Ditto.

-----------------------------------------------------------------------

Summary of changes:
 frysk-core/frysk/proc/ChangeLog            |    5 +++++
 frysk-core/frysk/proc/Task.java            |   12 ++++++++++++
 frysk-core/frysk/proc/dead/ChangeLog       |    6 ++++++
 frysk-core/frysk/proc/dead/DeadTask.java   |   16 +++++++++++++++-
 frysk-core/frysk/proc/dummy/ChangeLog      |    6 ++++++
 frysk-core/frysk/proc/dummy/DummyTask.java |   11 +++++++++++
 6 files changed, 55 insertions(+), 1 deletions(-)

First 500 lines of diff:
diff --git a/frysk-core/frysk/proc/ChangeLog b/frysk-core/frysk/proc/ChangeLog
index defd251..f9653af 100644
--- a/frysk-core/frysk/proc/ChangeLog
+++ b/frysk-core/frysk/proc/ChangeLog
@@ -1,3 +1,8 @@
+2008-04-01  Phil Muldoon  <pmuldoon@redhat.com>
+
+	* Task.java (requestAddWatchObserver): Publish. 
+	requestDeleteWatchObserver: Ditto.
+
 2008-03-31  Stan Cox  <scox@redhat.com>
 
 	* Proc.java (getExe): Remove in favor of getExeFile.  Replace all callers.
diff --git a/frysk-core/frysk/proc/Task.java b/frysk-core/frysk/proc/Task.java
index ffbb097..dfebb7f 100644
--- a/frysk-core/frysk/proc/Task.java
+++ b/frysk-core/frysk/proc/Task.java
@@ -261,6 +261,18 @@ public abstract class Task {
     public abstract void requestDeleteCodeObserver(TaskObserver.Code o, long a);
   
     /**
+     * Add TaskObserver.Watch to the TaskObserver pool.
+     */
+    public abstract void requestAddWatchObserver(TaskObserver.Watch o, long address, int length);
+
+    /**
+     * Delete TaskObserver.Watchfor the TaskObserver pool.
+     */
+    public abstract void requestDeleteWatchObserver(TaskObserver.Watch o, long address, int length);
+
+    
+    
+    /**
      * Request the addition of a Instruction observer that will be
      * notified as soon as the task executes an instruction.
      * <code>o.updateExecuted</code> is called as soon as the Task
diff --git a/frysk-core/frysk/proc/dead/ChangeLog b/frysk-core/frysk/proc/dead/ChangeLog
index d3a18a7..78157b4 100644
--- a/frysk-core/frysk/proc/dead/ChangeLog
+++ b/frysk-core/frysk/proc/dead/ChangeLog
@@ -1,3 +1,9 @@
+2008-04-01  Phil Muldoon  <pmuldoon@redhat.com>
+
+	* DeadTask.java (requestAddWatchObserver): Implement. 
+	requestDeleteWatchObserver: Ditto.
+
+
 2008-03-31  Stan Cox  <scox@redhat.com>
 
 	* LinuxExeFactory.java (createProc(String[],String): New.
diff --git a/frysk-core/frysk/proc/dead/DeadTask.java b/frysk-core/frysk/proc/dead/DeadTask.java
index 5a7ef76..346b1bc 100644
--- a/frysk-core/frysk/proc/dead/DeadTask.java
+++ b/frysk-core/frysk/proc/dead/DeadTask.java
@@ -199,7 +199,21 @@ abstract class DeadTask extends Task {
 	throw new RuntimeException("requestDeleteSignaledObserver");
     }
 
-  
+    /**
+     * Add TaskObserver.Watch to the TaskObserver pool.
+     */
+    public void requestAddWatchObserver(TaskObserver.Watch o, long address, int length) {
+	throw new RuntimeException("requestAddWatchObserver");
+    }
+
+    /**
+     * Delete TaskObserver.Watch from the TaskObserver pool.
+     */
+    public  void requestDeleteWatchObserver(TaskObserver.Watch o, long address, int length) {
+	throw new RuntimeException("requestDeleteCodeObserver");
+    }
+
+    
     /**
      * Add TaskObserver.Code to the TaskObserver pool.
      */
diff --git a/frysk-core/frysk/proc/dummy/ChangeLog b/frysk-core/frysk/proc/dummy/ChangeLog
index b54331b..e487c75 100644
--- a/frysk-core/frysk/proc/dummy/ChangeLog
+++ b/frysk-core/frysk/proc/dummy/ChangeLog
@@ -1,3 +1,9 @@
+2008-04-01  Phil Muldoon  <pmuldoon@redhat.com>
+
+	* DummyTask.java (requestAddWatchObserver): Implement. 
+	requestDeleteWatchObserver: Ditto.
+
+
 2008-03-27  Stan Cox  <scox@redhat.com>
 
 	* DummyProc.java (getExeFile): New.
diff --git a/frysk-core/frysk/proc/dummy/DummyTask.java b/frysk-core/frysk/proc/dummy/DummyTask.java
index 5c6cfef..025343b 100644
--- a/frysk-core/frysk/proc/dummy/DummyTask.java
+++ b/frysk-core/frysk/proc/dummy/DummyTask.java
@@ -129,9 +129,20 @@ public class DummyTask extends Task {
     public void requestDeleteCodeObserver(TaskObserver.Code o, long a) {
 	throw new RuntimeException("oops!");
     }
+    
+    public void requestAddWatchObserver(TaskObserver.Watch o, long address, int length) {
+	throw new RuntimeException("requestAddWatchObserver");
+    }
+
+    public  void requestDeleteWatchObserver(TaskObserver.Watch o, long address, int length) {
+	throw new RuntimeException("requestDeleteCodeObserver");
+    }
+
     public void requestAddInstructionObserver(TaskObserver.Instruction o) {
 	throw new RuntimeException("oops!");
     }
+    
+    
     public void requestDeleteInstructionObserver(TaskObserver.Instruction o) {
 	throw new RuntimeException("oops!");
     }


hooks/post-receive
--
frysk system monitor/debugger


                 reply	other threads:[~2008-04-01 14:24 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080401142456.31091.qmail@sourceware.org \
    --to=pmuldoon@sourceware.org \
    --cc=frysk-cvs@sourceware.org \
    --cc=frysk@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).