From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7599 invoked by alias); 23 Nov 2010 00:58:44 -0000 Received: (qmail 7516 invoked by uid 22791); 23 Nov 2010 00:58:43 -0000 X-SWARE-Spam-Status: No, hits=-2.1 required=5.0 tests=AWL,BAYES_00,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from rock.gnat.com (HELO rock.gnat.com) (205.232.38.15) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 23 Nov 2010 00:58:37 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id 60C6C2BABDF; Mon, 22 Nov 2010 19:58:35 -0500 (EST) Received: from rock.gnat.com ([127.0.0.1]) by localhost (rock.gnat.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id IdSgyMK7Fcle; Mon, 22 Nov 2010 19:58:35 -0500 (EST) Received: from joel.gnat.com (localhost.localdomain [127.0.0.1]) by rock.gnat.com (Postfix) with ESMTP id 222982BABDA; Mon, 22 Nov 2010 19:58:35 -0500 (EST) Received: by joel.gnat.com (Postfix, from userid 1000) id 1EDF61457E1; Mon, 22 Nov 2010 16:58:32 -0800 (PST) From: Joel Brobecker To: gdb-patches@sourceware.org Cc: Joel Brobecker Subject: [commit] Minor comment reformatting in ada-typeprint.c Date: Tue, 23 Nov 2010 00:58:00 -0000 Message-Id: <1290473911-409-1-git-send-email-brobecker@adacore.com> Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2010-11/txt/msg00324.txt.bz2 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 + * 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 + * 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