diff options
author | Bob Duff <duff@adacore.com> | 2020-03-13 13:05:13 -0400 |
---|---|---|
committer | Pierre-Marie de Rodat <derodat@adacore.com> | 2020-06-11 05:53:35 -0400 |
commit | a91b983325449c68f2f497a1662a4b85c47ce1a9 (patch) | |
tree | 5211bd7dec59108c125e1966667539802bc663e4 /gcc/ada/debug.adb | |
parent | 99cab17e02c2b34c4a6f5b54f5219b5fed4c7767 (diff) | |
download | gcc-a91b983325449c68f2f497a1662a4b85c47ce1a9.zip gcc-a91b983325449c68f2f497a1662a4b85c47ce1a9.tar.gz gcc-a91b983325449c68f2f497a1662a4b85c47ce1a9.tar.bz2 |
[Ada] Put_Image attribute
2020-06-11 Bob Duff <duff@adacore.com>
gcc/ada/
* exp_put_image.adb (Build_Record_Put_Image_Procedure): Remove
special processing of protected types, because those are handled
by Build_Protected_Put_Image_Call.
(Enable_Put_Image): Use the switch -gnatd_z to control enabling
of Put_Image. Disable Put_Image for types in Remote_Types
packages.
* debug.adb: Document -gnatd_z switch.
* exp_imgv.adb, libgnat/a-stteou.ads, opt.ads: Minor cleanups.
Diffstat (limited to 'gcc/ada/debug.adb')
-rw-r--r-- | gcc/ada/debug.adb | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gcc/ada/debug.adb b/gcc/ada/debug.adb index 1d614eb..0c86d96 100644 --- a/gcc/ada/debug.adb +++ b/gcc/ada/debug.adb @@ -170,7 +170,7 @@ package body Debug is -- d_w -- d_x -- d_y - -- d_z + -- d_z Enable Put_Image -- d_A Stop generation of ALI file -- d_B @@ -993,6 +993,9 @@ package body Debug is -- a call to routine Ada.Synchronous_Task_Control.Suspend_Until_True -- or Ada.Synchronous_Barriers.Wait_For_Release. + -- d_z The Put_Image attribute is a work in progress, and is disabled by + -- default. This enables it. + -- d_A Do not generate ALI files by setting Opt.Disable_ALI_File. -- d_F The compiler encodes the full path from an invocation construct to |