aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada
diff options
context:
space:
mode:
authorQuentin Ochem <ochem@adacore.com>2006-02-15 10:46:17 +0100
committerArnaud Charlet <charlet@gcc.gnu.org>2006-02-15 10:46:17 +0100
commit744ab5804b6c501e99fa2fd16c580904682ba2f9 (patch)
tree2a533b8f1db586f0dcc946c2ba389ec73cd2f48f /gcc/ada
parent62b80eaf3872270d72c8ec9a5b57ae04bab76061 (diff)
downloadgcc-744ab5804b6c501e99fa2fd16c580904682ba2f9.zip
gcc-744ab5804b6c501e99fa2fd16c580904682ba2f9.tar.gz
gcc-744ab5804b6c501e99fa2fd16c580904682ba2f9.tar.bz2
s-stausa.adb (Initialize_Analyzer): fixed error in assignment of task name.
2006-02-13 Quentin Ochem <ochem@adacore.com> * s-stausa.adb (Initialize_Analyzer): fixed error in assignment of task name. From-SVN: r111100
Diffstat (limited to 'gcc/ada')
-rw-r--r--gcc/ada/s-stausa.adb6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/ada/s-stausa.adb b/gcc/ada/s-stausa.adb
index 5f7de09..bede5a3 100644
--- a/gcc/ada/s-stausa.adb
+++ b/gcc/ada/s-stausa.adb
@@ -6,7 +6,7 @@
-- --
-- B o d y --
-- --
--- Copyright (C) 2004-2005, Free Software Foundation, Inc. --
+-- Copyright (C) 2004-2006, Free Software Foundation, Inc. --
-- --
-- GNARL is free software; you can redistribute it and/or modify it under --
-- terms of the GNU General Public License as published by the Free Soft- --
@@ -192,7 +192,7 @@ package body System.Stack_Usage is
Analyzer.Task_Name := (others => ' ');
if Task_Name'Length <= Task_Name_Length then
- Analyzer.Task_Name (1 .. Task_Name_Length) := Task_Name;
+ Analyzer.Task_Name (1 .. Task_Name'Length) := Task_Name;
else
Analyzer.Task_Name :=
Task_Name (Task_Name'First ..
@@ -288,7 +288,7 @@ package body System.Stack_Usage is
end if;
Set_Output (Standard_Error);
- Put ("INDEX | TASK NAME | STACK SIZE | MAX USAGE");
+ Put ("Index | Task Name | Stack Size | Actual Use");
New_Line;
for J in Result_Array'Range loop