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] Work around gcc bug 45682


On Wed, Sep 15, 2010 at 12:23 PM, Doug Evans <dje@google.com> wrote:
> Hi.
>
> This patch works around a bug in gcc's dwarf generation when using -gdwarf-4.
>
> ref: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45682
> [...]
>
> 2010-09-15 ?Doug Evans ?<dje@google.com>
>
> ? ? ? ?* dwarf2read.c (partial_die_info): New fields fixup_called,
> ? ? ? ?linkage_name.
> ? ? ? ?(guess_partial_die_structure_name): Renamed from guess_structure_name.
> ? ? ? ?Move definition next to use. ?Use linkage_name to determine if class
> ? ? ? ?is in a namespace. ?All callers updated.
> ? ? ? ?(fixup_partial_die): Return early if already called.
> ? ? ? ?Set fixup_called when done.
> ? ? ? ?(guess_full_die_structure_name): New function.
> ? ? ? ?(determine_prefix): Call it for class/struct/union dies if c++ and
> ? ? ? ?.debug_types section is present and parent is DW_TAG_compile_unit.

fyi,
I have checked this in.


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