From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19340 invoked by alias); 1 Apr 2008 14:13:42 -0000 Received: (qmail 19328 invoked by uid 22791); 1 Apr 2008 14:13:41 -0000 X-Spam-Status: No, hits=-2.3 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 01 Apr 2008 14:13:21 +0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id m31EDK3h006178 for ; Tue, 1 Apr 2008 10:13:20 -0400 Received: from pobox-2.corp.redhat.com (pobox-2.corp.redhat.com [10.11.255.15]) by int-mx1.corp.redhat.com (8.13.1/8.13.1) with ESMTP id m31EDJF8010398 for ; Tue, 1 Apr 2008 10:13:19 -0400 Received: from localhost.localdomain (vpn-14-68.rdu.redhat.com [10.11.14.68]) by pobox-2.corp.redhat.com (8.13.1/8.13.1) with ESMTP id m31EDICZ025473 for ; Tue, 1 Apr 2008 10:13:18 -0400 Message-ID: <47F242FD.4030001@redhat.com> Date: Tue, 01 Apr 2008 14:13:00 -0000 From: Phil Muldoon User-Agent: Thunderbird 2.0.0.12 (X11/20080226) MIME-Version: 1.0 To: frysk@sourceware.org Subject: Re: [SCM] master: Merge branch 'master' of ssh://sources.redhat.com/git/frysk References: <20080401122840.732.qmail@sourceware.org> In-Reply-To: <20080401122840.732.qmail@sourceware.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.58 on 172.16.52.254 X-IsSubscribed: yes Mailing-List: contact frysk-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: frysk-owner@sourceware.org X-SW-Source: 2008-q2/txt/msg00000.txt.bz2 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 > Date: Tue Apr 1 13:28:34 2008 +0100 > > Merge branch 'master' of ssh://sources.redhat.com/git/frysk > > commit 0b3aa7428253d10407c79d4be51e02afcdf92952 > Author: Phil Muldoon > Date: Tue Apr 1 13:27:36 2008 +0100 > > Add new assembler progream funit-watchpoint.S > > 2008-04-01 Phil Muldoon > > * 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 > + > + * funit-watchpoint.S: New. > + > 2008-03-18 Stan Cox > > * 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 > -#include > +#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 >