public inbox for frysk-cvs@sourceware.org
help / color / mirror / Atom feed
From: pmuldoon@sourceware.org
To: frysk-cvs@sourceware.org
Subject: [SCM]  master: 2008-04-01  Phil Muldoon  <pmuldoon@redhat.com>
Date: Tue, 01 Apr 2008 12:56:00 -0000	[thread overview]
Message-ID: <20080401125607.19367.qmail@sourceware.org> (raw)

The branch, master has been updated
       via  3320ba30bfea0b4d2eda0c7f368834097dcde46a (commit)
      from  22a5428f36763f5bf81885fcc19f03104541c18c (commit)

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

- Log -----------------------------------------------------------------
commit 3320ba30bfea0b4d2eda0c7f368834097dcde46a
Author: Phil Muldoon <pmuldoon@redhat.com>
Date:   Tue Apr 1 13:55:46 2008 +0100

    2008-04-01  Phil Muldoon  <pmuldoon@redhat.com>
    
            * funit-watchpoint.S: Comment.

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

Summary of changes:
 frysk-core/frysk/pkglibdir/ChangeLog          |    1 +
 frysk-core/frysk/pkglibdir/funit-watchpoint.S |   23 +++++++++++++++++++++--
 2 files changed, 22 insertions(+), 2 deletions(-)

First 500 lines of diff:
diff --git a/frysk-core/frysk/pkglibdir/ChangeLog b/frysk-core/frysk/pkglibdir/ChangeLog
index 504e7f5..97d9c2c 100644
--- a/frysk-core/frysk/pkglibdir/ChangeLog
+++ b/frysk-core/frysk/pkglibdir/ChangeLog
@@ -1,6 +1,7 @@
 2008-04-01  Phil Muldoon  <pmuldoon@redhat.com>
 
 	* funit-watchpoint.S: New.
+	Comment.
 
 2008-03-18  Stan Cox  <scox@redhat.com>
 
diff --git a/frysk-core/frysk/pkglibdir/funit-watchpoint.S b/frysk-core/frysk/pkglibdir/funit-watchpoint.S
index eb0863f..67fce05 100644
--- a/frysk-core/frysk/pkglibdir/funit-watchpoint.S
+++ b/frysk-core/frysk/pkglibdir/funit-watchpoint.S
@@ -39,25 +39,44 @@
 
 #include "frysk-asm.h"
 
+// Function to write to a global var memory address and then exit.
+// This tests the ability of a the watchpoint code to catch
+// a dead simple and basic watchpoint test condition. If the
+// program exits before the Watchpoint fired, the test fails.
+//
+// This program is normally started, blocked at entry. Then the 
+// watchpoint is applied in the debugger. Then the program is set
+// to continue.
 FUNCTION_BEGIN(main,0)
 MAIN_PROLOGUE(0)
 NOP
-	
+
+// Load source variables address into GPR 1
 LOAD_IMMED_BYTE (REG1, source)
+
+// Load the literal value 0x77 into GPR3. The value isn't important
+// the actual writing of the data is.
 LOAD_IMMED_BYTE (REG3, 0x77)
+
+// Clear the decks ...
 NOP
 NOP
 NOP
+
+// Write 0x77 into the location of source (held by GPR1)
 STORE(REG3, REG1)
+
+// Clear the decks ....
 NOP
 NOP
 NOP
 
-
+// End. And exit
 MAIN_EPILOGUE(0)
 FUNCTION_RETURN(main,0)
 FUNCTION_END(main,0)
 
+// Declare a global variable source. One byte and populate it
 .data
 .globl source
 source:						// Set up memory locations


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


                 reply	other threads:[~2008-04-01 12:56 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=20080401125607.19367.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).