public inbox for frysk-cvs@sourceware.org
help / color / mirror / Atom feed
From: pmuldoon@sourceware.org
To: frysk-cvs@sourceware.org
Subject: [SCM]  master: Tweak CorefileByteBuffer illegal address error message.
Date: Thu, 29 Nov 2007 15:39:00 -0000	[thread overview]
Message-ID: <20071129153939.3374.qmail@sourceware.org> (raw)

The branch, master has been updated
       via  048aeff01d868840ad9fb2f821592dc516a8b78a (commit)
      from  8e1270adf259c3816e9b0f8acd229bddaa2e77a7 (commit)

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

- Log -----------------------------------------------------------------
commit 048aeff01d868840ad9fb2f821592dc516a8b78a
Author: Phil Muldoon <pmuldoon@redhat.com>
Date:   Thu Nov 29 15:39:32 2007 +0000

    Tweak CorefileByteBuffer illegal address error message.
    
    2007-11-29  Phil Muldoon  <pmuldoon@redhat.com>
    
    	* CorefileByteBuffer.java (peek): Tweak error message
    	on peek() at illegal address.

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

Summary of changes:
 frysk-core/frysk/proc/dead/ChangeLog               |    5 +++++
 frysk-core/frysk/proc/dead/CorefileByteBuffer.java |    9 ++++++---
 2 files changed, 11 insertions(+), 3 deletions(-)

First 500 lines of diff:
diff --git a/frysk-core/frysk/proc/dead/ChangeLog b/frysk-core/frysk/proc/dead/ChangeLog
index d0829f3..8790a32 100644
--- a/frysk-core/frysk/proc/dead/ChangeLog
+++ b/frysk-core/frysk/proc/dead/ChangeLog
@@ -1,3 +1,8 @@
+2007-11-29  Phil Muldoon  <pmuldoon@redhat.com>
+
+	* CorefileByteBuffer.java (peek): Tweak error message
+	on peek() at illegal address.
+
 2007-11-26  Sami Wagiaalla  <swagiaal@redhat.com>
 
 	Added a boolean for printing source	libraries to Frame.toPrint().
diff --git a/frysk-core/frysk/proc/dead/CorefileByteBuffer.java b/frysk-core/frysk/proc/dead/CorefileByteBuffer.java
index d3150af..3ef2164 100644
--- a/frysk-core/frysk/proc/dead/CorefileByteBuffer.java
+++ b/frysk-core/frysk/proc/dead/CorefileByteBuffer.java
@@ -124,9 +124,12 @@ public class CorefileByteBuffer
 	}
 	
     else
-      throw new RuntimeException("peek() at address " +
-				 Long.toHexString(address)+" cannot be "+
-				 "found in metadata table.");
+      throw new RuntimeException("CorefileByteBuffer: Cannot peek() " +
+      				 "at address 0x" +
+				 Long.toHexString(address)+"." +
+				 " Address location is unknown " +
+				 " (not in corefile, executable or "+
+				 " mapped solibs).");
 
     return buffer[0];
   }


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


                 reply	other threads:[~2007-11-29 15:39 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=20071129153939.3374.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).