This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [doc patch] whatis vs. ptype - the difference
- From: Tom Tromey <tromey at redhat dot com>
- To: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Tue, 12 Jul 2011 14:13:30 -0600
- Subject: Re: [doc patch] whatis vs. ptype - the difference
- References: <20110712183130.GA15349@host1.jankratochvil.net>
>>>>> "Jan" == Jan Kratochvil <jan.kratochvil@redhat.com> writes:
Jan> another possibility is to fix it - that `ptype var' strips the
Jan> typedefs looks wrong. But GDB people are used how it works.
I think it is handy to have both options available. And, compatibility
usually wins. So I'd rather not change it.
However, we could also give ptype and whatis options, to let the user
choose another way.
Tom