From: Joel Brobecker <brobecker@adacore.com>
To: gdb-patches@sourceware.org
Cc: Joel Brobecker <brobecker@adacore.com>
Subject: [commit] Minor comment reformatting in ada-typeprint.c
Date: Tue, 23 Nov 2010 00:58:00 -0000 [thread overview]
Message-ID: <1290473911-409-1-git-send-email-brobecker@adacore.com> (raw)
Some missing second spaces...
gdb/ChangeLog:
* ada-typeprint.c (print_array_type): Fix formatting in comment.
(print_selected_record_field_types): Fix formatting in function
documentation.
Checked in.
---
gdb/ChangeLog | 6 ++++++
gdb/ada-typeprint.c | 7 +++----
2 files changed, 9 insertions(+), 4 deletions(-)
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 1683b86..9c34354 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,11 @@
2010-11-22 Joel Brobecker <brobecker@adacore.com>
+ * ada-typeprint.c (print_array_type): Fix formatting in comment.
+ (print_selected_record_field_types): Fix formatting in function
+ documentation.
+
+2010-11-22 Joel Brobecker <brobecker@adacore.com>
+
* ravenscar-thread.c (_initialize_ravenscar): Fix copy/paste typo
in name of "show ravenscar" prefix command name.
diff --git a/gdb/ada-typeprint.c b/gdb/ada-typeprint.c
index 6139edd..677a6aa 100644
--- a/gdb/ada-typeprint.c
+++ b/gdb/ada-typeprint.c
@@ -402,11 +402,10 @@ print_array_type (struct type *type, struct ui_file *stream, int show,
/* Print the choices encoded by field FIELD_NUM of variant-part TYPE on
STREAM, assuming that VAL_TYPE (if non-NULL) is the type of the
- values. Returns non-zero if the field is an encoding of
+ values. Return non-zero if the field is an encoding of
discriminant values, as in a standard variant record, and 0 if the
field is not so encoded (as happens with single-component variants
- in types annotated with pragma Unchecked_Variant.)
- */
+ in types annotated with pragma Unchecked_Variant). */
static int
print_choices (struct type *type, int field_num, struct ui_file *stream,
@@ -553,7 +552,7 @@ print_variant_part (struct type *type, int field_num, struct type *outer_type,
LEVEL is the recursion (indentation) level, in case any of the
fields themselves have nested structure, and SHOW is the number of
levels of internal structure to show (see ada_print_type). Does
- not print parent type information of TYPE. Returns 0 if no fields
+ not print parent type information of TYPE. Returns 0 if no fields
printed, -1 for an incomplete type, else > 0. Prints each field
beginning on a new line, but does not put a new line at end. */
--
1.7.1
reply other threads:[~2010-11-23 0:58 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1290473911-409-1-git-send-email-brobecker@adacore.com \
--to=brobecker@adacore.com \
--cc=gdb-patches@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).