public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r12-3792] [Ada] Mark gnatfind and gnatxref obsolete
@ 2021-09-22 15:09 Pierre-Marie de Rodat
0 siblings, 0 replies; only message in thread
From: Pierre-Marie de Rodat @ 2021-09-22 15:09 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:e690e0c287db5cdb33c229be95f5c3a9ef9bd9f0
commit r12-3792-ge690e0c287db5cdb33c229be95f5c3a9ef9bd9f0
Author: Arnaud Charlet <charlet@adacore.com>
Date: Mon Jul 12 06:33:29 2021 -0400
[Ada] Mark gnatfind and gnatxref obsolete
gcc/ada/
* gnatfind.adb, gnatxref.adb: Mark these tools as obsolete
before removing them completely.
Diff:
---
gcc/ada/gnatfind.adb | 5 +++++
gcc/ada/gnatxref.adb | 5 +++++
2 files changed, 10 insertions(+)
diff --git a/gcc/ada/gnatfind.adb b/gcc/ada/gnatfind.adb
index c3fc25ed4a5..83bafffc13c 100644
--- a/gcc/ada/gnatfind.adb
+++ b/gcc/ada/gnatfind.adb
@@ -347,6 +347,11 @@ procedure Gnatfind is
-- Start of processing for Gnatfind
begin
+ Put_Line
+ ("WARNING: gnatfind is obsolete and will be removed in the next release");
+ Put_Line
+ ("Consider using Libadalang or GNAT Studio python scripting instead");
+
Parse_Cmd_Line;
if not Have_Entity then
diff --git a/gcc/ada/gnatxref.adb b/gcc/ada/gnatxref.adb
index 9a3935c33bd..3737f664567 100644
--- a/gcc/ada/gnatxref.adb
+++ b/gcc/ada/gnatxref.adb
@@ -299,6 +299,11 @@ procedure Gnatxref is
end Write_Usage;
begin
+ Put_Line
+ ("WARNING: gnatxref is obsolete and will be removed in the next release");
+ Put_Line
+ ("Consider using Libadalang or GNAT Studio python scripting instead");
+
Parse_Cmd_Line;
if not Have_File then
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-09-22 15:09 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-22 15:09 [gcc r12-3792] [Ada] Mark gnatfind and gnatxref obsolete Pierre-Marie de Rodat
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).