https://gcc.gnu.org/g:7a3d56008453a4198eb150b6041fa6651ba32b6b

commit r16-2463-g7a3d56008453a4198eb150b6041fa6651ba32b6b
Author: Tonu Naks <n...@adacore.com>
Date:   Mon Jul 14 13:52:30 2025 +0000

    ada: Minor adjustment to the doc of Last_Chance_Handler
    
    gcc/ada/ChangeLog:
    
            * doc/gnat_rm/standard_and_implementation_defined_restrictions.rst:
            clarify parameter description.
            * gnat_rm.texi: Regenerate.

Diff:
---
 .../gnat_rm/standard_and_implementation_defined_restrictions.rst  | 6 +++---
 gcc/ada/gnat_rm.texi                                              | 8 ++++----
 2 files changed, 7 insertions(+), 7 deletions(-)

diff --git 
a/gcc/ada/doc/gnat_rm/standard_and_implementation_defined_restrictions.rst 
b/gcc/ada/doc/gnat_rm/standard_and_implementation_defined_restrictions.rst
index 0e9162a19062..1f0aa030f2cd 100644
--- a/gcc/ada/doc/gnat_rm/standard_and_implementation_defined_restrictions.rst
+++ b/gcc/ada/doc/gnat_rm/standard_and_implementation_defined_restrictions.rst
@@ -333,9 +333,9 @@ must define with the following profile:
                  "__gnat_last_chance_handler");
 
 
-The parameter is a C null-terminated string representing a message to be
-associated with the exception (typically the source location of the raise
-statement generated by the compiler). The Line parameter when nonzero
+The ``Source_Location`` parameter is a C null-terminated string representing a
+message to be associated with the exception (typically the source location of
+the raise statement generated by the compiler). The Line parameter when nonzero
 represents the line number in the source program where the raise occurs.
 
 No_Exception_Propagation
diff --git a/gcc/ada/gnat_rm.texi b/gcc/ada/gnat_rm.texi
index 1ca3ede355b4..5d7bedc67ee0 100644
--- a/gcc/ada/gnat_rm.texi
+++ b/gcc/ada/gnat_rm.texi
@@ -19,7 +19,7 @@
 
 @copying
 @quotation
-GNAT Reference Manual , Jul 21, 2025
+GNAT Reference Manual , Jul 24, 2025
 
 AdaCore
 
@@ -13072,9 +13072,9 @@ pragma Export (C, Last_Chance_Handler,
                "__gnat_last_chance_handler");
 @end example
 
-The parameter is a C null-terminated string representing a message to be
-associated with the exception (typically the source location of the raise
-statement generated by the compiler). The Line parameter when nonzero
+The @code{Source_Location} parameter is a C null-terminated string 
representing a
+message to be associated with the exception (typically the source location of
+the raise statement generated by the compiler). The Line parameter when nonzero
 represents the line number in the source program where the raise occurs.
 
 @node 
No_Exception_Propagation,No_Exception_Registration,No_Exception_Handlers,Partition-Wide
 Restrictions

Reply via email to