summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2009-09-17 18:13:38 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2009-09-17 18:13:38 +0000
commit51f43313d5d0cce6fa9a00f478aeaf3831361b48 (patch)
tree5898caa8f85c06130aca12364c20364d4a51df9e
parent04eee9fbd77462040d87a6b881dd8e5ce3f19db0 (diff)
2009-09-17 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile, check-off.txt, check-on.txt, stack_check.adb: Make follow standard RTEMS test output format. Add output screens where appropriate. * stack_check.scn: New file.
-rw-r--r--stack_check/ChangeLog7
-rw-r--r--stack_check/Makefile2
-rw-r--r--stack_check/check-off.txt4
-rw-r--r--stack_check/check-on.txt4
-rw-r--r--stack_check/stack_check.adb1
-rw-r--r--stack_check/stack_check.scn15
6 files changed, 33 insertions, 0 deletions
diff --git a/stack_check/ChangeLog b/stack_check/ChangeLog
index b86d7c9..284712a 100644
--- a/stack_check/ChangeLog
+++ b/stack_check/ChangeLog
@@ -1,5 +1,12 @@
2009-09-17 Joel Sherrill <joel.sherrill@oarcorp.com>
+ * Makefile, check-off.txt, check-on.txt, stack_check.adb: Make follow
+ standard RTEMS test output format. Add output screens where
+ appropriate.
+ * stack_check.scn: New file.
+
+2009-09-17 Joel Sherrill <joel.sherrill@oarcorp.com>
+
* .cvsignore: New file.
2007-10-17 Joel Sherrill <joel.sherrill@oarcorp.com>
diff --git a/stack_check/Makefile b/stack_check/Makefile
index feb5aac..f6e6d12 100644
--- a/stack_check/Makefile
+++ b/stack_check/Makefile
@@ -3,6 +3,8 @@
#
# See README.Makefiles in the main ada-examples directory.
#
+# $Id$
+#
PROGRAM=stack_check
diff --git a/stack_check/check-off.txt b/stack_check/check-off.txt
index b92f347..4d9b8d3 100644
--- a/stack_check/check-off.txt
+++ b/stack_check/check-off.txt
@@ -1,3 +1,7 @@
+#
+# $Id$
+#
+
Call depth = 1
Call depth = 2
Call depth = 3
diff --git a/stack_check/check-on.txt b/stack_check/check-on.txt
index 8a20ba4..f2cecec 100644
--- a/stack_check/check-on.txt
+++ b/stack_check/check-on.txt
@@ -1,3 +1,7 @@
+#
+# $Id$
+#
+
Call depth = 1
Call depth = 2
Call depth = 3
diff --git a/stack_check/stack_check.adb b/stack_check/stack_check.adb
index a35a29e..575d967 100644
--- a/stack_check/stack_check.adb
+++ b/stack_check/stack_check.adb
@@ -25,6 +25,7 @@ procedure stack_check is
end BlowMe;
begin
+ Put_Line ("*** GNAT/RTEMS Stack Checker Test ***");
BlowMe (1, UselessArray);
end stack_check;
diff --git a/stack_check/stack_check.scn b/stack_check/stack_check.scn
new file mode 100644
index 0000000..b0688cc
--- /dev/null
+++ b/stack_check/stack_check.scn
@@ -0,0 +1,15 @@
+*** GNAT/RTEMS Stack Checker Test ***
+Call depth = 1
+Call depth = 2
+Call depth = 3
+Call depth = 4
+Call depth = 5
+Call depth = 6
+BLOWN STACK!!!
+task control block: 0x0205FC50
+task ID: 0x0B010002
+task name: 0x00000000
+task name string:
+task stack area (16400 Bytes): 0x02066B08 .. 0x0206AB18
+
+NOTE: Addresses and depth will vary.