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] fix exp/12117


On Wed, Oct 13, 2010 at 10:53 AM, Doug Evans <dje@google.com> wrote:
> Hi.
>
> This patch fixes pr exp/12117.
> http://sourceware.org/bugzilla/show_bug.cgi?id=12117
>
> I will check this in in two days if there are no objections.
>
> 2010-10-13 ?Doug Evans ?<dje@google.com>
>
> ? ? ? ?PR exp/12117
> ? ? ? ?* c-typeprint.c (c_print_type): Call CHECK_TYPEDEF after calling
> ? ? ? ?c_type_print_base.
> ? ? ? ?(c_type_print_modifier_flags): New function.
> ? ? ? ?(c_type_print_modifier): Call it.
> ? ? ? ?(c_type_print_base): Collect instance_flags while we're stripping
> ? ? ? ?typedefs. ?Change calls to c_type_print_modifier to call
> ? ? ? ?c_type_print_modifier_flags instead.
> ? ? ? ?(c_type_print_base, case TYPE_CODE_TYPEDEF): Verify assumptions of
> ? ? ? ?when this case happens. ?Print "<unnamed typedef>".
> ? ? ? ?* gdbtypes.h (strip_typedefs): Declare.
> ? ? ? ?* gdbtypes.c (strip_typedefs): New function.
> ? ? ? ?(check_typedef): Call it.
>
> ? ? ? ?testsuite/
> ? ? ? ?* gdb.cp/pr12117.cc: New file.
> ? ? ? ?* gdb.cp/pr12117.exp: New file.

Blech, I told myself not to forget adding this note this time ... :-(

Tested on amd64-linux, no regressions.


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