aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/debug.adb
diff options
context:
space:
mode:
authorViljar Indus <indus@adacore.com>2024-04-12 12:21:36 +0300
committerMarc Poulhiès <poulhies@adacore.com>2024-06-13 15:30:35 +0200
commit98900f7da7969cdc241cf1f6a85127e75f852607 (patch)
tree6282e764db4c832ed49edf45ab4501cacbf913e3 /gcc/ada/debug.adb
parentea3172a4247c11dbb90ed6484bbba97a2bbcc1f9 (diff)
downloadgcc-98900f7da7969cdc241cf1f6a85127e75f852607.zip
gcc-98900f7da7969cdc241cf1f6a85127e75f852607.tar.gz
gcc-98900f7da7969cdc241cf1f6a85127e75f852607.tar.bz2
ada: Remove -gnatdJ switch
Using -gnatdJ with various other switches was error prone. Remove this switch since the primary users of this mode GNATCheck and Codepeer no longer need it. gcc/ada/ * debug.adb: Remove mentions of -gnatdJ. * errout.adb: Remove printing subprogram names to JSON. * erroutc.adb: Remove printing subprogram names in messages. * erroutc.ads: Remove Node and Subprogram_Name_Ptr used for -gnatdJ. * errutil.adb: Remove Node used for -gnatdJ * gnat1drv.adb: Remove references of -gnatdJ and Include_Subprgram_In_Messages. * opt.ads: Remove Include_Subprgram_In_Messages * par-util.adb: Remove behavior related to Include_Subprgram_In_Messages. * sem_util.adb: Remove Subprogram_Name used for -gnatdJ
Diffstat (limited to 'gcc/ada/debug.adb')
-rw-r--r--gcc/ada/debug.adb6
1 files changed, 0 insertions, 6 deletions
diff --git a/gcc/ada/debug.adb b/gcc/ada/debug.adb
index 540db2a..602a8fa 100644
--- a/gcc/ada/debug.adb
+++ b/gcc/ada/debug.adb
@@ -67,7 +67,6 @@ package body Debug is
-- dG Generate all warnings including those normally suppressed
-- dH Hold (kill) call to gigi
-- dI Inhibit internal name numbering in gnatG listing
- -- dJ Prepend subprogram name in messages
-- dK Kill all error messages
-- dL Ignore external calls from instances for elaboration
-- dM Assume all variables are modified (no current values)
@@ -615,11 +614,6 @@ package body Debug is
-- is used in the fixed bugs run to minimize system and version
-- dependency in filed -gnatD or -gnatG output.
- -- dJ Prepend the name of the enclosing subprogram in compiler messages
- -- (errors, warnings, style checks). This is useful in particular to
- -- integrate compiler warnings in static analysis tools such as
- -- CodePeer.
-
-- dK Kill all error messages. This debug flag suppresses the output
-- of all error messages. It is used in regression tests where the
-- error messages are target dependent and irrelevant.