This is the mail archive of the frysk-cvs@sources.redhat.com mailing list for the frysk project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[SCM] master: swagiaal: committed missing file funit-long-stack.c


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 <swagiaal@redhat.com>
Date:   Thu Nov 22 13:18:41 2007 -0500

    swagiaal: committed missing file funit-long-stack.c
    
    +2007-11-22  Sami Wagiaalla  <swagiaal@toner.toronto.redhat.com>
    +
    +       * 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  <swagiaal@toner.toronto.redhat.com>
+
+	* funit-long-stack.c: New.
+
 2007-11-22  Andrew Cagney  <cagney@redhat.com>
 
 	* 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 <stdlib.h>
+
+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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]