diff options
author | Quentin Ochem <ochem@adacore.com> | 2006-02-15 10:46:17 +0100 |
---|---|---|
committer | Arnaud Charlet <charlet@gcc.gnu.org> | 2006-02-15 10:46:17 +0100 |
commit | 744ab5804b6c501e99fa2fd16c580904682ba2f9 (patch) | |
tree | 2a533b8f1db586f0dcc946c2ba389ec73cd2f48f /gcc/ada | |
parent | 62b80eaf3872270d72c8ec9a5b57ae04bab76061 (diff) | |
download | gcc-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.adb | 6 |
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 |