From b30fc1f9d6ca2ad28b3c136e88049a285533df8f Mon Sep 17 00:00:00 2001 From: Arnaud Charlet Date: Mon, 26 Oct 2015 12:00:55 +0000 Subject: [PATCH] debug.adb: Introduce debug flag -gnatd.5. 2015-10-26 Arnaud Charlet * debug.adb: Introduce debug flag -gnatd.5. From-SVN: r229349 --- gcc/ada/ChangeLog | 4 ++++ gcc/ada/debug.adb | 6 +++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/gcc/ada/ChangeLog b/gcc/ada/ChangeLog index 62367175f26..b19076c7361 100644 --- a/gcc/ada/ChangeLog +++ b/gcc/ada/ChangeLog @@ -1,3 +1,7 @@ +2015-10-26 Arnaud Charlet + + * debug.adb: Introduce debug flag -gnatd.5. + 2015-10-26 Pascal Obry * s-os_lib.ads, s-os_lib.adb (Kill): New routine. This routine diff --git a/gcc/ada/debug.adb b/gcc/ada/debug.adb index 29872b630a0..b38b82b102c 100644 --- a/gcc/ada/debug.adb +++ b/gcc/ada/debug.adb @@ -159,7 +159,7 @@ package body Debug is -- d.2 Allow statements in declarative part -- d.3 Output debugging information from Exp_Unst -- d.4 - -- d.5 + -- d.5 Do not generate imported subprogram definitions in C code -- d.6 -- d.7 -- d.8 @@ -762,6 +762,10 @@ package body Debug is -- d.3 Output debugging information from Exp_Unst, including the name of -- any unreachable subprograms that get deleted. + -- d.5 By default a subprogram imported generates a subprogram profile. + -- This debug flag disables this generation when generating C code, + -- assuming a proper #include will be used instead. + ------------------------------------------ -- Documentation for Binder Debug Flags -- ------------------------------------------ -- 2.30.2