This is the mail archive of the frysk-cvs@sources.redhat.com mailing list for the frysk project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[SCM] master: Test for valid proc before proceeding.


The branch, master has been updated
       via  00e5ef40ff4db4cd2aa482d491e271b0f1ee6fe0 (commit)
      from  00b9fa35668c84c9899076d86c7e3a2ff7c6347e (commit)

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

- Log -----------------------------------------------------------------
commit 00e5ef40ff4db4cd2aa482d491e271b0f1ee6fe0
Author: Rick Moseley <rmoseley@dhcp-215.hsv.redhat.com>
Date:   Thu Jan 17 10:13:04 2008 -0600

    Test for valid proc before proceeding.
    
    * SteppingEngine.java: Test for valid proc before proceeding.

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

Summary of changes:
 frysk-core/frysk/stepping/ChangeLog           |    4 ++++
 frysk-core/frysk/stepping/SteppingEngine.java |    2 +-
 2 files changed, 5 insertions(+), 1 deletions(-)

First 500 lines of diff:
diff --git a/frysk-core/frysk/stepping/ChangeLog b/frysk-core/frysk/stepping/ChangeLog
index 2f37e23..c263c88 100644
--- a/frysk-core/frysk/stepping/ChangeLog
+++ b/frysk-core/frysk/stepping/ChangeLog
@@ -1,3 +1,7 @@
+2008-01-17  Rick Moseley  <rmoseley@redhat.com>
+
+	* SteppingEngine.java: Test for valid proc before proceeding.
+
 2008-01-14  Mike Cvet  <mcvet@redhat.com>
 	* InstructionStepThroughState.java: Added, fixing #5260.
 	* InstructionStepState.java (handleUpdate): Added code to
diff --git a/frysk-core/frysk/stepping/SteppingEngine.java b/frysk-core/frysk/stepping/SteppingEngine.java
index fe53d74..6a07afe 100644
--- a/frysk-core/frysk/stepping/SteppingEngine.java
+++ b/frysk-core/frysk/stepping/SteppingEngine.java
@@ -1183,7 +1183,7 @@ public class SteppingEngine {
 	     * as terminated and notify the observers of the event. */
             Proc proc = task.getProc();
 	    Integer context = (Integer)SteppingEngine.this.contextMap.get(proc);
-	    if (!SteppingEngine.this.contextMap.isEmpty())
+	    if (!SteppingEngine.this.contextMap.isEmpty() && context != null)
 		SteppingEngine.this.contextMap.put(proc, new Integer(
 		    context.intValue() - 1));
 


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]