From 51f43313d5d0cce6fa9a00f478aeaf3831361b48 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Thu, 17 Sep 2009 18:13:38 +0000 Subject: 2009-09-17 Joel Sherrill * 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. --- stack_check/ChangeLog | 7 +++++++ stack_check/Makefile | 2 ++ stack_check/check-off.txt | 4 ++++ stack_check/check-on.txt | 4 ++++ stack_check/stack_check.adb | 1 + stack_check/stack_check.scn | 15 +++++++++++++++ 6 files changed, 33 insertions(+) create mode 100644 stack_check/stack_check.scn diff --git a/stack_check/ChangeLog b/stack_check/ChangeLog index b86d7c9..284712a 100644 --- a/stack_check/ChangeLog +++ b/stack_check/ChangeLog @@ -1,3 +1,10 @@ +2009-09-17 Joel Sherrill + + * 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 * .cvsignore: New file. 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. -- cgit v1.2.3