diff options
author | Quentin Ochem <ochem@adacore.com> | 2006-02-15 09:46:17 +0000 |
---|---|---|
committer | Arnaud Charlet <charlet@adacore.com> | 2006-02-15 09:46:17 +0000 |
commit | f7719ae8dde6992d113f72e7516dd6b5fcb2aab4 (patch) | |
tree | 2a533b8f1db586f0dcc946c2ba389ec73cd2f48f | |
parent | fe4b53565e3e77b336a8695e0da2f5696116dee8 (diff) |
2006-02-13 Quentin Ochem <ochem@adacore.com>
* s-stausa.adb (Initialize_Analyzer): fixed error in assignment of
task name.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@111100 138bc75d-0d04-0410-961f-82ee72b054a4
-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 5f7de0955bf..bede5a37f4d 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 |