This is the mail archive of the
gdb-patches@sourceware.cygnus.com
mailing list for the GDB project.
Re: Patch to C++ nested class printing
- To: gdb-patches at sourceware dot cygnus dot com
- Subject: Re: Patch to C++ nested class printing
- From: Jim Kingdon <kingdon at redhat dot com>
- Date: 12 Feb 2000 17:20:19 -0800
- Newsgroups: cygnus.patches.gdb
- Organization: Cygnus Solutions
- References: <199911240947.BAA18697@yorick.cygnus.com>
> * 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....).
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.