r125415 - in /trunk/gcc/ada: g-debpoo.adb g-deb...
charlet@gcc.gnu.org
charlet@gcc.gnu.org
Wed Jun 6 10:29:00 GMT 2007
Author: charlet
Date: Wed Jun 6 10:29:21 2007
New Revision: 125415
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=125415
Log:
2007-04-20 Vincent Celier <celier@adacore.com>
Emmanuel Briot <briot@adacore.com>
Olivier Hainque <hainque@adacore.com>
* g-debpoo.ads, g-debpoo.adb (Free_Physically.Free_Blocks): Use the
absolute value of Header.Block_Size when displaying the freed physical
memory in traces.
(Allocate): Compute Storage_Address using Integer_Address, not
Storage_Offset, because the range of Storage_Offset may not be large
enough.
(Configure): New parameter Low_Level_Traces
(Allocate, Deallocation, Free_Physically): Added low-level traces
(Configure): new parameter Errors_To_Stdout.
(Output_File): new subprogram
(Deallocate, Dereference): Send error messages to the proper stream
(Print_Pool, Print_Info_Stdout): Make sure the output goes to stdout, as
documented. Previous code would send it to the current output file
defined in GNAT.IO, which might not be stdout
(Is_Valid): Adjust comment to mention that a positive reply means that
Header_Of may be used to retrieve the allocation header associated with
the subprogram Storage address argument. Return False early if this
address argument is misaligned.
Modified:
trunk/gcc/ada/g-debpoo.adb
trunk/gcc/ada/g-debpoo.ads
More information about the Gcc-cvs
mailing list