From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 801 invoked by alias); 1 Apr 2008 12:28:45 -0000 Received: (qmail 747 invoked by uid 9514); 1 Apr 2008 12:28:40 -0000 Date: Tue, 01 Apr 2008 12:28:00 -0000 Message-ID: <20080401122840.732.qmail@sourceware.org> From: pmuldoon@sourceware.org To: frysk-cvs@sourceware.org Subject: [SCM] master: Merge branch 'master' of ssh://sources.redhat.com/git/frysk X-Git-Refname: refs/heads/master X-Git-Reftype: branch X-Git-Oldrev: e1ebce24e45ed9778fa430444318ec8f92de1f5e X-Git-Newrev: 22a5428f36763f5bf81885fcc19f03104541c18c Mailing-List: contact frysk-cvs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: frysk-cvs-owner@sourceware.org Reply-To: frysk@sourceware.org X-SW-Source: 2008-q2/txt/msg00000.txt.bz2 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