This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH 6/9] add ptype/r to the cli
- From: Eli Zaretskii <eliz at gnu dot org>
- To: Tom Tromey <tromey at redhat dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Sat, 08 Sep 2012 10:58:05 +0300
- Subject: Re: [PATCH 6/9] add ptype/r to the cli
- References: <874nn9is7d.fsf@fleche.redhat.com>
- Reply-to: Eli Zaretskii <eliz at gnu dot org>
> From: Tom Tromey <tromey@redhat.com>
> Date: Fri, 07 Sep 2012 12:49:26 -0600
>
> +Normally, when @value{GDBN} prints a class, it displays any methods
> +declared in that class. You can control this behavior either by
> +passing the appropriate flag to @code{ptype}, or using @command{set
> +print methods}.
"set print type methods", "type" is missing.
> +Normally, when @value{GDBN} prints a class, it displays any typedefs
> +defined in that class. You can control this behavior either by
> +passing the appropriate flag to @code{ptype}, or using @command{set
> +print typedefs}.
Same here.
> +@item t
> +Do not print typedefs defined in the class. Note that this controls
> +whether the typedef definition itself is printed, not whether typedef
> +names are substituted when printing other types.
Should the last sentence be also mentioned where you describe "set
print type typedefs"?
OK with these changes.
Thanks.