public inbox for frysk-cvs@sourceware.org
help / color / mirror / Atom feed
* [SCM]  master: Handle null return from getIsa.
@ 2008-01-17 19:42 rmoseley
  0 siblings, 0 replies; only message in thread
From: rmoseley @ 2008-01-17 19:42 UTC (permalink / raw)
  To: frysk-cvs

The branch, master has been updated
       via  86fc26f68c285f6f5740351cfffea9cbb96733c4 (commit)
      from  0658ba9ba71969deabd233d212bbb59046220f4d (commit)

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

- Log -----------------------------------------------------------------
commit 86fc26f68c285f6f5740351cfffea9cbb96733c4
Author: Rick Moseley <rmoseley@dhcp-215.hsv.redhat.com>
Date:   Thu Jan 17 13:41:44 2008 -0600

    Handle null return from getIsa.
    
    * LinuxPtraceTaskState.java: Handle null ISA return.

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

Summary of changes:
 frysk-core/frysk/proc/live/ChangeLog               |    1 +
 .../frysk/proc/live/LinuxPtraceTaskState.java      |    2 +-
 2 files changed, 2 insertions(+), 1 deletions(-)

First 500 lines of diff:
diff --git a/frysk-core/frysk/proc/live/ChangeLog b/frysk-core/frysk/proc/live/ChangeLog
index da4b78e..2888dee 100644
--- a/frysk-core/frysk/proc/live/ChangeLog
+++ b/frysk-core/frysk/proc/live/ChangeLog
@@ -1,6 +1,7 @@
 2008-01-17  Rick Moseley  <rmoseley@redhat.com>
 
 	* LinuxWaitBuilder.java: Catch error when process is gone.
+	* LinuxPtraceTaskState.java: Handle null ISA return.
 
 2008-01-17  Andrew Cagney  <cagney@redhat.com>
 
diff --git a/frysk-core/frysk/proc/live/LinuxPtraceTaskState.java b/frysk-core/frysk/proc/live/LinuxPtraceTaskState.java
index dc58ffd..e861a87 100644
--- a/frysk-core/frysk/proc/live/LinuxPtraceTaskState.java
+++ b/frysk-core/frysk/proc/live/LinuxPtraceTaskState.java
@@ -996,7 +996,7 @@ class LinuxPtraceTaskState extends State {
 	  // first step onto the first instruction of a just started
 	  // task sometimes doesn't set the right task stepped flag.
 	  // So we check and immediately clear here.
-	  if (isa.isTaskStepped(task) || task.justStartedXXX)
+	  if (isa != null && (isa.isTaskStepped(task) || task.justStartedXXX))
 	    {
 	      if (task.justStartedXXX)
 		return stepping.handleTrappedEvent(task);


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 19:42 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-01-17 19:42 [SCM] master: Handle null return from getIsa 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).