[binutils-gdb] gdb/ada-exp.y: Reformat comment to follow GDB's coding standards

Joel Brobecker brobecke@sourceware.org
Mon Dec 20 05:06:13 GMT 2021


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=cc6d00f13b431c6acfebb6c9b5416371b750563c

commit cc6d00f13b431c6acfebb6c9b5416371b750563c
Author: Joel Brobecker <brobecker@adacore.com>
Date:   Mon Dec 20 09:04:54 2021 +0400

    gdb/ada-exp.y: Reformat comment to follow GDB's coding standards
    
    This commit reformats a comment in gdb/ada-exp.y to avoid
    the leading '*' at the beginning of each line of the comment.

Diff:
---
 gdb/ada-exp.y | 18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)

diff --git a/gdb/ada-exp.y b/gdb/ada-exp.y
index 66d58b06cb5..dcd967c83ec 100644
--- a/gdb/ada-exp.y
+++ b/gdb/ada-exp.y
@@ -1126,15 +1126,15 @@ write_int (struct parser_state *par_state, LONGEST arg, struct type *type)
 }
 
 /* Emit expression corresponding to the renamed object named 
- * designated by RENAMED_ENTITY[0 .. RENAMED_ENTITY_LEN-1] in the
- * context of ORIG_LEFT_CONTEXT, to which is applied the operations
- * encoded by RENAMING_EXPR.  MAX_DEPTH is the maximum number of
- * cascaded renamings to allow.  If ORIG_LEFT_CONTEXT is null, it
- * defaults to the currently selected block. ORIG_SYMBOL is the 
- * symbol that originally encoded the renaming.  It is needed only
- * because its prefix also qualifies any index variables used to index
- * or slice an array.  It should not be necessary once we go to the
- * new encoding entirely (FIXME pnh 7/20/2007).  */
+   designated by RENAMED_ENTITY[0 .. RENAMED_ENTITY_LEN-1] in the
+   context of ORIG_LEFT_CONTEXT, to which is applied the operations
+   encoded by RENAMING_EXPR.  MAX_DEPTH is the maximum number of
+   cascaded renamings to allow.  If ORIG_LEFT_CONTEXT is null, it
+   defaults to the currently selected block. ORIG_SYMBOL is the 
+   symbol that originally encoded the renaming.  It is needed only
+   because its prefix also qualifies any index variables used to index
+   or slice an array.  It should not be necessary once we go to the
+   new encoding entirely (FIXME pnh 7/20/2007).  */
 
 static void
 write_object_renaming (struct parser_state *par_state,


More information about the Gdb-cvs mailing list