From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32565 invoked by alias); 22 Nov 2007 18:22:13 -0000 Received: (qmail 32537 invoked by uid 9561); 22 Nov 2007 18:22:10 -0000 Date: Thu, 22 Nov 2007 18:22:00 -0000 Message-ID: <20071122182210.32522.qmail@sourceware.org> From: swagiaal@sourceware.org To: frysk-cvs@sourceware.org Subject: [SCM] master: swagiaal: committed missing file funit-long-stack.c X-Git-Refname: refs/heads/master X-Git-Reftype: branch X-Git-Oldrev: d4cb4466214f91e8742535701baae43d6e71a611 X-Git-Newrev: af8238b8a4e17e2022f32197ce7030ecbb8e231a 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: 2007-q4/txt/msg00430.txt.bz2 The branch, master has been updated via af8238b8a4e17e2022f32197ce7030ecbb8e231a (commit) from d4cb4466214f91e8742535701baae43d6e71a611 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email. - Log ----------------------------------------------------------------- commit af8238b8a4e17e2022f32197ce7030ecbb8e231a Author: Sami Wagiaalla Date: Thu Nov 22 13:18:41 2007 -0500 swagiaal: committed missing file funit-long-stack.c +2007-11-22 Sami Wagiaalla + + * funit-long-stack.c: New. + ----------------------------------------------------------------------- Summary of changes: frysk-core/frysk/pkglibdir/ChangeLog | 4 ++++ frysk-core/frysk/pkglibdir/funit-long-stack.c | 24 ++++++++++++++++++++++++ 2 files changed, 28 insertions(+), 0 deletions(-) create mode 100644 frysk-core/frysk/pkglibdir/funit-long-stack.c First 500 lines of diff: diff --git a/frysk-core/frysk/pkglibdir/ChangeLog b/frysk-core/frysk/pkglibdir/ChangeLog index 1e149f8..a01c217 100644 --- a/frysk-core/frysk/pkglibdir/ChangeLog +++ b/frysk-core/frysk/pkglibdir/ChangeLog @@ -1,3 +1,7 @@ +2007-11-22 Sami Wagiaalla + + * funit-long-stack.c: New. + 2007-11-22 Andrew Cagney * gen-type-funit-tests.py: Do not import "subprocess". diff --git a/frysk-core/frysk/pkglibdir/funit-long-stack.c b/frysk-core/frysk/pkglibdir/funit-long-stack.c new file mode 100644 index 0000000..b5f5ddb --- /dev/null +++ b/frysk-core/frysk/pkglibdir/funit-long-stack.c @@ -0,0 +1,24 @@ +#include + +void crash(){ + char* c = 0; + c[0] = 'a'; +} + +void first(int stack){ + + if(stack < 50){ + first(stack+1); + }else{ + crash(); + } +} + + +int main(){ + + first (0); + + return 0; +} + hooks/post-receive -- frysk system monitor/debugger