This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH 6/9] add ptype/r to the cli


> 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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]