[PATCH 28/55] Convert Pascal to value-based API

Simon Marchi simark@simark.ca
Wed Jan 15 05:57:00 GMT 2020


On 2019-12-08 1:29 p.m., Tom Tromey wrote:
> @@ -1056,6 +1065,182 @@ pascal_object_print_value_fields (struct type *type, const gdb_byte *valaddr,
>    fprintf_filtered (stream, "}");
>  }
>  
> +/* Mutually recursive subroutines of pascal_object_print_value and
> +   c_val_print to print out a structure's fields:
> +   pascal_object_print_val_fields and pascal_object_print_value.
> +
> +   TYPE, VALADDR, ADDRESS, STREAM, RECURSE, and OPTIONS have the
> +   same meanings as in pascal_object_print_value and c_val_print.
> +
> +   DONT_PRINT is an array of baseclass types that we
> +   should not print, or zero if called from top level.  */

The comment above needs to be updated.

Simon



More information about the Gdb-patches mailing list