public inbox for frysk@sourceware.org
 help / color / mirror / Atom feed
From: Phil Muldoon <pmuldoon@redhat.com>
To: frysk@sourceware.org
Subject: Re: [SCM]  master: Merge branch 'master' of ssh://sources.redhat.com/git/frysk
Date: Tue, 01 Apr 2008 14:13:00 -0000	[thread overview]
Message-ID: <47F242FD.4030001@redhat.com> (raw)
In-Reply-To: <20080401122840.732.qmail@sourceware.org>

pmuldoon@sourceware.org wrote:

This commit build a dead simple watchpoint scenario. The assembly level 
program writes to a global and exits. For the time being it is a sanity 
tests for the upcoming Watchpoint observer code, and tests that 
watchpoints at the lowest and most simple level work.

Regards

Phil
> The branch, master has been updated
>        via  22a5428f36763f5bf81885fcc19f03104541c18c (commit)
>        via  0b3aa7428253d10407c79d4be51e02afcdf92952 (commit)
>       from  e1ebce24e45ed9778fa430444318ec8f92de1f5e (commit)
>
> Those revisions listed above that are new to this repository have
> not appeared on any other notification email.
>
> - Log -----------------------------------------------------------------
> commit 22a5428f36763f5bf81885fcc19f03104541c18c
> Merge: 0b3aa7428253d10407c79d4be51e02afcdf92952 e1ebce24e45ed9778fa430444318ec8f92de1f5e
> Author: Phil Muldoon <pmuldoon@redhat.com>
> Date:   Tue Apr 1 13:28:34 2008 +0100
>
>     Merge branch 'master' of ssh://sources.redhat.com/git/frysk
>
> commit 0b3aa7428253d10407c79d4be51e02afcdf92952
> Author: Phil Muldoon <pmuldoon@redhat.com>
> Date:   Tue Apr 1 13:27:36 2008 +0100
>
>     Add new assembler progream funit-watchpoint.S
>     
>     2008-04-01  Phil Muldoon  <pmuldoon@redhat.com>
>     
>             * funit-watchpoint.S: New.
>
> -----------------------------------------------------------------------
>
> Summary of changes:
>  frysk-core/frysk/pkglibdir/ChangeLog               |    4 ++
>  .../{funit-libcall.c => funit-watchpoint.S}        |   40 ++++++++++++--------
>  2 files changed, 28 insertions(+), 16 deletions(-)
>  copy frysk-core/frysk/pkglibdir/{funit-libcall.c => funit-watchpoint.S} (87%)
>
> First 500 lines of diff:
> diff --git a/frysk-core/frysk/pkglibdir/ChangeLog b/frysk-core/frysk/pkglibdir/ChangeLog
> index 7ec6e15..504e7f5 100644
> --- a/frysk-core/frysk/pkglibdir/ChangeLog
> +++ b/frysk-core/frysk/pkglibdir/ChangeLog
> @@ -1,3 +1,7 @@
> +2008-04-01  Phil Muldoon  <pmuldoon@redhat.com>
> +
> +	* funit-watchpoint.S: New.
> +
>  2008-03-18  Stan Cox  <scox@redhat.com>
>  
>  	* funit-quicksort.c (main): Make sortlist extern.
> diff --git a/frysk-core/frysk/pkglibdir/funit-libcall.c b/frysk-core/frysk/pkglibdir/funit-watchpoint.S
> similarity index 87%
> copy from frysk-core/frysk/pkglibdir/funit-libcall.c
> copy to frysk-core/frysk/pkglibdir/funit-watchpoint.S
> index 578b0a2..eb0863f 100644
> --- a/frysk-core/frysk/pkglibdir/funit-libcall.c
> +++ b/frysk-core/frysk/pkglibdir/funit-watchpoint.S
> @@ -37,22 +37,30 @@
>  // version and license this file solely under the GPL without
>  // exception.
>  
> -#include <stdlib.h>
> -#include <sys/time.h>
> +#include "frysk-asm.h"
>  
> -static volatile long tmp = 0;
> +FUNCTION_BEGIN(main,0)
> +MAIN_PROLOGUE(0)
> +NOP
> +	
> +LOAD_IMMED_BYTE (REG1, source)
> +LOAD_IMMED_BYTE (REG3, 0x77)
> +NOP
> +NOP
> +NOP
> +STORE(REG3, REG1)
> +NOP
> +NOP
> +NOP
> +
> +
> +MAIN_EPILOGUE(0)
> +FUNCTION_RETURN(main,0)
> +FUNCTION_END(main,0)
> +
> +.data
> +.globl source
> +source:						// Set up memory locations
> +	.byte 0x99
>  
> -void
> -foo ()
> -{
> -  struct timeval t;
> -  gettimeofday (&t, NULL); // _testIStepThrough_
> -  tmp += t.tv_usec;
> -}
>  
> -int
> -main (int argc, char **argv)
> -{
> -  foo ();
> -  exit (0);
> -}
>
>
> hooks/post-receive
> --
> frysk system monitor/debugger
>   

       reply	other threads:[~2008-04-01 14:13 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20080401122840.732.qmail@sourceware.org>
2008-04-01 14:13 ` Phil Muldoon [this message]
2008-04-02  7:59   ` Mark Wielaard
2008-04-02  9:06     ` Phil Muldoon
2008-04-02 10:43       ` Mark Wielaard
2008-04-03 13:51         ` Mark Wielaard
2008-04-03 13:52           ` Mark Wielaard

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=47F242FD.4030001@redhat.com \
    --to=pmuldoon@redhat.com \
    --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).