Minor comment reformatting in ada-typeprint.c
gdb/ChangeLog: * ada-typeprint.c (print_array_type): Fix formatting in comment. (print_selected_record_field_types): Fix formatting in function documentation.
This commit is contained in:
parent
04f9d4d055
commit
feb864b7f7
|
@ -1,3 +1,9 @@
|
||||||
|
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>
|
2010-11-22 Joel Brobecker <brobecker@adacore.com>
|
||||||
|
|
||||||
* ravenscar-thread.c (_initialize_ravenscar): Fix copy/paste typo
|
* ravenscar-thread.c (_initialize_ravenscar): Fix copy/paste typo
|
||||||
|
|
|
@ -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
|
/* 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
|
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
|
discriminant values, as in a standard variant record, and 0 if the
|
||||||
field is not so encoded (as happens with single-component variants
|
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
|
static int
|
||||||
print_choices (struct type *type, int field_num, struct ui_file *stream,
|
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
|
LEVEL is the recursion (indentation) level, in case any of the
|
||||||
fields themselves have nested structure, and SHOW is the number of
|
fields themselves have nested structure, and SHOW is the number of
|
||||||
levels of internal structure to show (see ada_print_type). Does
|
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
|
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. */
|
beginning on a new line, but does not put a new line at end. */
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue