public inbox for frysk-cvs@sourceware.org
help / color / mirror / Atom feed
* [SCM]  master: Test for valid proc before proceeding.
@ 2008-01-17 16:13 rmoseley
  0 siblings, 0 replies; only message in thread
From: rmoseley @ 2008-01-17 16:13 UTC (permalink / raw)
  To: frysk-cvs

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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-01-17 16:13 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-01-17 16:13 [SCM] master: Test for valid proc before proceeding rmoseley

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).