[PATCH] Fix usage of to_string() for pretty-printers with children
Eli Zaretskii
eliz@gnu.org
Thu May 25 14:59:00 GMT 2017
> From: Peter Linss <peter@elemental.software>
> Date: Wed, 24 May 2017 19:33:41 -0700
>
> diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo
> index 9fb70f6d2a..05e5b868ed 100644
> --- a/gdb/doc/gdb.texinfo
> +++ b/gdb/doc/gdb.texinfo
> @@ -29444,8 +29444,9 @@ reliable for a dynamic varobj. Instead, you must examine the
>
> @item value
> The varobj's scalar value. For a varobj whose type is some sort of
> -aggregate (e.g., a @code{struct}), or for a dynamic varobj, this value
> -will not be interesting.
> +aggregate (e.g., a @code{struct}) this value will not be interesting.
^
Please add back the comma removed here.
The documentation part is approved with this gotcha fixed.
Thanks.
More information about the Gdb-patches
mailing list