This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] Introduce linked list for dynamic attributes
- From: Joel Brobecker <brobecker at adacore dot com>
- To: Keven Boell <keven dot boell at linux dot intel dot com>
- Cc: Keven Boell <keven dot boell at intel dot com>, gdb-patches at sourceware dot org
- Date: Fri, 20 Mar 2015 17:54:15 -0400
- Subject: Re: [PATCH] Introduce linked list for dynamic attributes
- Authentication-results: sourceware.org; auth=none
- References: <1425281876-20302-1-git-send-email-keven dot boell at intel dot com> <20150302194959 dot GD4449 at adacore dot com> <54F5BA7A dot 2090308 at linux dot intel dot com> <20150303155457 dot GA3243 at adacore dot com> <54F6FA0D dot 4000103 at linux dot intel dot com> <20150305181347 dot GB4604 at adacore dot com> <54FEDD80 dot 1020102 at linux dot intel dot com> <20150316195500 dot GA3435 at adacore dot com> <55081368 dot 3060302 at linux dot intel dot com>
> 2015-02-23 Keven Boell <keven.boell@intel.com>
>
> * gdbtypes.c (resolve_dynamic_type_internal): Adapt
> data_location usage to linked list.
> (resolve_dynamic_type_internal): Adapt data_location usage
> to linked list.
> (get_dyn_prop): New function.
> (add_dyn_prop): New function.
> (copy_dynamic_prop_list): New function.
> (copy_type_recursive): Add copy of linked list.
> (copy_type): Add copy of linked list.
> * gdbtypes.h (enum dynamic_prop_node_kind): Kind of the
> dynamic attribute in linked list.
> (struct dynamic_prop_list): Dynamic list node.
> * dwarf2read.c (set_die_type): Add data_location data to
> linked list using helper functions.
I sent Keven the instructions on how to get a sourceware account
a while ago now. In the meantime, I've pushed this patch to master
(after having re-tested it on x86_64-linux, just in case).
--
Joel