-2019-10-10 Ed Schonberg <schonberg@adacore.com>
+2019-10-10 Anthony Leonardo Gracio <leonardo@adacore.com>
- * exp_ch6.adb (Expand_Simple_Function_Return_Statement): If the
- function to which the return statement applies is an
- Ignored_Ghost_Function, do not indicate that it uses the
- secondary stack when the return type is unconstrained.
\ No newline at end of file
+ * doc/gnat_ugn/about_this_guide.rst,
+ doc/gnat_ugn/building_executable_programs_with_gnat.rst,
+ doc/gnat_ugn/getting_started_with_gnat.rst,
+ doc/gnat_ugn/gnat_and_program_execution.rst, errout.ads,
+ exp_ch3.adb, gnatls.adb, impunit.adb, lib-writ.ads, opt.ads,
+ sem_ch7.adb, sem_prag.adb, sem_res.adb, sem_warn.adb,
+ terminals.c: Replace GPS by GNAT Studio.
+ * gnat_ugn.texi: Regenerate.
\ No newline at end of file
* :title:`GNAT Reference_Manual`, which contains all reference material for the GNAT
implementation of Ada.
-* :title:`Using the GNAT Programming Studio`, which describes the GPS
+* :title:`Using GNAT Studio`, which describes the GNAT Studio
Integrated Development Environment.
-* :title:`GNAT Programming Studio Tutorial`, which introduces the
- main GPS features through examples.
+* :title:`GNAT Studio Tutorial`, which introduces the
+ main GNAT Studio features through examples.
* :title:`Debugging with GDB`,
for all details on the use of the GNU source-level debugger.
The first integer after the file name is the line number in the file,
and the second integer is the column number within the line.
-``GPS`` can parse the error messages
+``GNAT Studio`` can parse the error messages
and point to the referenced character.
The following switches provide control over the error message
format:
.. end of switch description (leave this comment to ease automatic parsing for
-.. GPS
+.. GNAT Studio
In the above rules, appearing in column one is always permitted, that is,
counts as meeting either a requirement for a required preceding space,
This chapter describes how to use GNAT's command line interface to build
executable Ada programs.
On most platforms a visually oriented Integrated Development Environment
-is also available, the GNAT Programming Studio (GPS).
-GPS offers a graphical "look and feel", support for development in
+is also available, the GNAT Programming Studio (GNAT Studio).
+GNAT Studio offers a graphical "look and feel", support for development in
other programming languages, comprehensive browsing features, and
many other capabilities.
-For information on GPS please refer to
+For information on GNAT Studio please refer to
:title:`Using the GNAT Programming Studio`.
This section describes how to initiate the debugger.
-The debugger can be launched from a ``GPS`` menu or
+The debugger can be launched from a ``GNAT Studio`` menu or
directly from the command line. The description below covers the latter use.
-All the commands shown can be used in the ``GPS`` debug console window,
+All the commands shown can be used in the ``GNAT Studio`` debug console window,
but there are usually more GUI-based ways to achieve the same effect.
The command to run ``GDB`` is
-- CODEFIX Facility --
-----------------------
- -- The GPS and GNATBench IDE's have a codefix facility that allows for
- -- automatic correction of a subset of the errors and warnings issued
+ -- The GNAT Studio and GNATBench IDE's have a codefix facility that allows
+ -- for automatic correction of a subset of the errors and warnings issued
-- by the compiler. This is done by recognizing the text of specific
-- messages using appropriate matching patterns.
-- would otherwise make two copies. The RM allows removing redunant
-- Adjust/Finalize calls, but does not allow insertion of extra ones.
- -- This part is disabled for now, because it breaks GPS builds
+ -- This part is disabled for now, because it breaks GNAT Studio
+ -- builds
(False -- ???
and then Nkind (Expr_Q) = N_Explicit_Dereference
@copying
@quotation
-GNAT User's Guide for Native Platforms , Sep 14, 2019
+GNAT User's Guide for Native Platforms , Oct 09, 2019
AdaCore
implementation of Ada.
@item
-@cite{Using the GNAT Programming Studio}, which describes the GPS
+@cite{Using GNAT Studio}, which describes the GNAT Studio
Integrated Development Environment.
@item
-@cite{GNAT Programming Studio Tutorial}, which introduces the
-main GPS features through examples.
+@cite{GNAT Studio Tutorial}, which introduces the
+main GNAT Studio features through examples.
@item
@cite{Debugging with GDB},
This chapter describes how to use GNAT's command line interface to build
executable Ada programs.
On most platforms a visually oriented Integrated Development Environment
-is also available, the GNAT Programming Studio (GPS).
-GPS offers a graphical "look and feel", support for development in
+is also available, the GNAT Programming Studio (GNAT Studio).
+GNAT Studio offers a graphical "look and feel", support for development in
other programming languages, comprehensive browsing features, and
many other capabilities.
-For information on GPS please refer to
+For information on GNAT Studio please refer to
@cite{Using the GNAT Programming Studio}.
@menu
The first integer after the file name is the line number in the file,
and the second integer is the column number within the line.
-@code{GPS} can parse the error messages
+@code{GNAT Studio} can parse the error messages
and point to the referenced character.
The following switches provide control over the error message
format:
@c end of switch description (leave this comment to ease automatic parsing for
-@c GPS
+@c GNAT Studio
In the above rules, appearing in column one is always permitted, that is,
counts as meeting either a requirement for a required preceding space,
This section describes how to initiate the debugger.
-The debugger can be launched from a @code{GPS} menu or
+The debugger can be launched from a @code{GNAT Studio} menu or
directly from the command line. The description below covers the latter use.
-All the commands shown can be used in the @code{GPS} debug console window,
+All the commands shown can be used in the @code{GNAT Studio} debug console window,
but there are usually more GUI-based ways to achieve the same effect.
The command to run @code{GDB} is
procedure Gnatls is
pragma Ident (Gnat_Static_Version_String);
- -- NOTE : The following string may be used by other tools, such as GPS. So
- -- it can only be modified if these other uses are checked and coordinated.
+ -- NOTE : The following string may be used by other tools, such as
+ -- GNAT Studio. So it can only be modified if these other uses are checked
+ -- and coordinated.
Project_Search_Path : constant String := "Project Search Path:";
-- Label displayed in verbose mode before the directories in the project
with Opt; use Opt;
with Uname; use Uname;
--- Note: this package body is used by GPS and GNATBench to supply a list of
--- entries for help on available library routines.
+-- Note: this package body is used by GNAT Studio and GNATBench to supply a
+-- list of entries for help on available library routines.
package body Impunit is
-- incompatible with new versions of the compiler. Any changes to ali file
-- formats must be carefully evaluated to understand any such possible
-- conflicts, and in particular, it is very undesirable to create conflicts
- -- between older versions of GPS and newer versions of the compiler.
+ -- between older versions of GNAT Studio and newer versions of the
+ -- compiler.
-- If the following guidelines are respected, downward compatibility
-- problems (old tools reading new ali files) should be minimized:
Display_Compilation_Progress : Boolean := False;
-- GNATMAKE, GPRBUILD
-- Set True (-d switch) to display information on progress while compiling
- -- files. Internal flag to be used in conjunction with an IDE (e.g GPS).
+ -- files. Internal flag to be used in conjunction with an IDE
+ -- (e.g GNAT Studio).
type Distribution_Stub_Mode_Type is
-- GNAT
procedure Generate_Parent_References;
-- For a child unit, generate references to parent units, for
- -- GPS navigation purposes.
+ -- GNAT Studio navigation purposes.
function Is_Public_Child (Child, Unit : Entity_Id) return Boolean;
-- Child and Unit are entities of compilation units. True if Child
Set_Convention_From_Pragma (E);
-- Treat a pragma Import as an implicit body, and pragma import
- -- as implicit reference (for navigation in GPS).
+ -- as implicit reference (for navigation in GNAT Studio).
if Prag_Id = Pragma_Import then
Generate_Reference (E, Id, 'b');
-- For exported entities we restrict the generation of references
-- to entities exported to foreign languages since entities
- -- exported to Ada do not provide further information to GPS and
- -- add undesired references to the output of the gnatxref tool.
+ -- exported to Ada do not provide further information to
+ -- GNAT Studio and add undesired references to the output of the
+ -- gnatxref tool.
elsif Prag_Id = Pragma_Export
and then Convention (E) /= Convention_Ada
end if;
-- If this is a dispatching call, generate the appropriate reference,
- -- for better source navigation in GPS.
+ -- for better source navigation in GNAT Studio.
if Is_Overloadable (Nam)
and then Present (Controlling_Argument (N))
function Generic_Body_Formal (E : Entity_Id) return Entity_Id;
-- Warnings on unused formals of subprograms are placed on the entity
-- in the subprogram body, which seems preferable because it suggests
- -- a better codefix for GPS. The analysis of generic subprogram bodies
- -- uses a different circuitry, so the choice for the proper placement
- -- of the warning in the generic case takes place here, by finding the
- -- body entity that corresponds to a formal in a spec.
+ -- a better codefix for GNAT Studio. The analysis of generic subprogram
+ -- bodies uses a different circuitry, so the choice for the proper
+ -- placement of the warning in the generic case takes place here, by
+ -- finding the body entity that corresponds to a formal in a spec.
procedure May_Need_Initialized_Actual (Ent : Entity_Id);
-- If an entity of a generic type has default initialization, then the
BOOL usePipe;
};
-/* Control whether create_child cause the process to inherit GPS'
+/* Control whether create_child cause the process to inherit GNAT Studio'
error mode setting. The default is 1, to minimize the possibility of
subprocesses blocking when accessing unmounted drives. */
static int Vw32_start_process_inherit_error_mode = 1;