Patch to C++ nested class printing
Andrew Cagney
ac131313@cygnus.com
Sat Apr 1 00:00:00 GMT 2000
Jim Kingdon wrote:
>
> > * c-typeprint.c (c_type_print_base): Only strip the initial
> > Class:: qualification.
>
> Unless I misread the code, JimB took care of this one in a somewhat
> different way. His change also seems to have been omitted from the
> ChangeLog (due to oversight, I guess). I've checked in a ChangeLog
> entry (hope that is the right way to recover....).
Yes looks that way. Thanks for stopping me trying to merge the other
patch - it could have been messy.
As an asside, I've also received a nomination for a C++ maintainer.
I'll wait until all the logistic hurdles have been overcome before
announcing the details. However, given this persons credentials, this
is a very positive piece of news.
>
> date: 2000/02/04 19:48:52; author: jimb; state: Exp; lines: +133 -10
> * c-typeprint.c (remove_qualifiers): New function.
> (c_type_print_base): Use it to remove qualifiers from C++
> qualified names, not strrchr.
>
> * c-typeprint.c (c_type_print_base): Recognize type conversion
> operators by calling is_type_conversion_operator.
> (is_type_conversion_operator): New function.
Andrew
More information about the Gdb-patches
mailing list