[Ada] Reword the impact of -minimal on the debugger

2019-12-16  Joel Brobecker  <brobecker@adacore.com>

gcc/ada/

	* doc/gnat_ugn/building_executable_programs_with_gnat.rst
	(_Switches_for_gnatbind): Reword the section explaining the
	impact of -minimal on debugging.
	* gnat_ugn.texi: Regenerate.

From-SVN: r279416
This commit is contained in:
Joel Brobecker 2019-12-16 10:33:27 +00:00 committed by Pierre-Marie de Rodat
parent f17267c88f
commit 5903c91cae
3 changed files with 15 additions and 2 deletions

View file

@ -1,3 +1,10 @@
2019-12-16 Joel Brobecker <brobecker@adacore.com>
* doc/gnat_ugn/building_executable_programs_with_gnat.rst
(_Switches_for_gnatbind): Reword the section explaining the
impact of -minimal on debugging.
* gnat_ugn.texi: Regenerate.
2019-12-16 Gary Dismukes <dismukes@adacore.com>
* libgnat/g-exptty.adb, libgnat/g-exptty.ads: Typo fixes and

View file

@ -6540,7 +6540,10 @@ be presented in subsequent sections.
longer generated. **Warning:** this option comes with the following
limitations:
* Debugging will not work;
* Starting the program's execution in the debugger will cause it to
stop at the start of the ``main`` function instead of the main subprogram.
This can be worked around by manually inserting a breakpoint on that
subprogram and resuming the program's execution until reaching that breakpoint.
* Programs using GNAT.Compiler_Version will not link.
.. index:: -n (gnatbind)

View file

@ -15968,7 +15968,10 @@ limitations:
@itemize *
@item
Debugging will not work;
Starting the program's execution in the debugger will cause it to
stop at the start of the @code{main} function instead of the main subprogram.
This can be worked around by manually inserting a breakpoint on that
subprogram and resuming the program's execution until reaching that breakpoint.
@item
Programs using GNAT.Compiler_Version will not link.