This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[commit] [patch] Workaround buggy GCC PR 47510 produced code
- From: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- To: gdb-patches at sourceware dot org
- Cc: Tom Tromey <tromey at redhat dot com>
- Date: Fri, 6 May 2011 16:14:22 +0200
- Subject: [commit] [patch] Workaround buggy GCC PR 47510 produced code
- References: <20110411203029.GA8106@host1.jankratochvil.net> <m3mxjseepf.fsf@fleche.redhat.com> <20110416163823.GA30270@host1.jankratochvil.net>
On Sat, 16 Apr 2011 18:38:23 +0200, Jan Kratochvil wrote:
> gdb/
> 2011-04-16 Jan Kratochvil <jan.kratochvil@redhat.com>
>
> * c-exp.y (qualified_name): Call destructor_name_p with $1.type.
> (classify_inner_name): Call cp_lookup_nested_type with
> yylval.tsym.type.
> * cp-namespace.c (cp_lookup_nested_type): New variable
> saved_parent_type. Call CHECK_TYPEDEF for parent_type. Call
> type_name_no_tag_or_error with saved_parent_type.
> * dwarf2read.c (load_partial_dies): Read in any children of
> DW_TAG_typedef with complaint in such case.
> * gdbtypes.c (type_name_no_tag_or_error): New function.
> * gdbtypes.h (type_name_no_tag_or_error): New prototype.
> * valops.c (destructor_name_p): New comment for parameter type. Remove
> type const. Make dname and cp const. Call type_name_no_tag_or_error.
> * value.h (destructor_name_p): Remove type const.
Checked in:
http://sourceware.org/ml/gdb-cvs/2011-05/msg00042.html
Thanks,
Jan