public inbox for frysk-cvs@sourceware.org
help / color / mirror / Atom feed
From: rmoseley@sourceware.org
To: frysk-cvs@sourceware.org
Subject: [SCM]  master: Test for valid proc before proceeding.
Date: Thu, 17 Jan 2008 16:13:00 -0000	[thread overview]
Message-ID: <20080117161329.6854.qmail@sourceware.org> (raw)

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


                 reply	other threads:[~2008-01-17 16:13 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=20080117161329.6854.qmail@sourceware.org \
    --to=rmoseley@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).