[PATCH] Expand dynamic type documentation
Eli Zaretskii
eliz@gnu.org
Sat Apr 25 05:59:45 GMT 2020
> From: Tom Tromey <tromey@adacore.com>
> Date: Fri, 24 Apr 2020 14:39:11 -0600
> Cc: Tom Tromey <tromey@adacore.com>
>
> This expands the Python dynamic type documentation, as suggested by
> Christian.
>
> gdb/doc/ChangeLog
> 2020-04-24 Tom Tromey <tromey@adacore.com>
>
> * python.texi (Types In Python): Mention missing fields. Add
> dynamic type example.
Fine with me, with one minor comment:
> +Here, at least conceptually (whether your compiler actually does this
> +is a separate issue), examining @code{gdb.lookup_symbol("array", ...).type}
This long @code{..} expression is likely to be split between lines; to
prevent that, I suggest to wrap it in @w{..}.
Thanks.
More information about the Gdb-patches
mailing list