summaryrefslogtreecommitdiff
path: root/gcc/ada/g-debpoo.adb
diff options
context:
space:
mode:
authorEmmanuel Briot <briot@adacore.com>2005-06-16 10:39:12 +0200
committerArnaud Charlet <charlet@gcc.gnu.org>2005-06-16 10:39:12 +0200
commitee936a698282bd39cd2fc1cb961a1a2d7f24de13 (patch)
treebdaf3ef9ea8883872968ef6910f49eb79e7ef302 /gcc/ada/g-debpoo.adb
parentffdbd4c44e7b56966d11fcd62335ded7babaed09 (diff)
downloadgcc-ee936a698282bd39cd2fc1cb961a1a2d7f24de13.tar.gz
g-debpoo.adb (Deallocate, [...]): Improve output.
2005-06-14 Emmanuel Briot <briot@adacore.com> * g-debpoo.adb (Deallocate, Dereference): Improve output. From-SVN: r101039
Diffstat (limited to 'gcc/ada/g-debpoo.adb')
-rw-r--r--gcc/ada/g-debpoo.adb6
1 files changed, 5 insertions, 1 deletions
diff --git a/gcc/ada/g-debpoo.adb b/gcc/ada/g-debpoo.adb
index 51846185b36..0e3fdaca760 100644
--- a/gcc/ada/g-debpoo.adb
+++ b/gcc/ada/g-debpoo.adb
@@ -6,7 +6,7 @@
-- --
-- B o d y --
-- --
--- Copyright (C) 1992-2004 Free Software Foundation, Inc. --
+-- Copyright (C) 1992-2005 Free Software Foundation, Inc. --
-- --
-- GNAT 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- --
@@ -1123,6 +1123,8 @@ package body GNAT.Debug_Pools is
Code_Address_For_Deallocate_End);
Put (" Memory already deallocated at ");
Put_Line (0, To_Traceback (Header.Dealloc_Traceback).Traceback);
+ Put (" Memory was allocated at ");
+ Put_Line (0, Header.Alloc_Traceback.Traceback);
end if;
else
@@ -1257,6 +1259,8 @@ package body GNAT.Debug_Pools is
Code_Address_For_Dereference_End);
Put (" First deallocation at ");
Put_Line (0, To_Traceback (Header.Dealloc_Traceback).Traceback);
+ Put (" Initial allocation at ");
+ Put_Line (0, Header.Alloc_Traceback.Traceback);
end if;
end if;
end if;