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
+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
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)
@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.