This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA/commit] DWARF: Add support for DW_TAG_constant DIEs
- From: Nathan Froyd <froydnj at codesourcery dot com>
- To: Joel Brobecker <brobecker at adacore dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Thu, 16 Sep 2010 13:33:37 -0700
- Subject: Re: [RFA/commit] DWARF: Add support for DW_TAG_constant DIEs
- References: <1284668546-25877-1-git-send-email-brobecker@adacore.com>
On Thu, Sep 16, 2010 at 01:22:26PM -0700, Joel Brobecker wrote:
> @@ -3691,6 +3692,20 @@ add_partial_symbol (struct partial_die_info *pdi, struct dwarf2_cu *cu)
> cu->language, objfile);
> }
> break;
> + case DW_TAG_constant:
> + {
> + struct psymbol_allocation_list *list;
> +
> + if (pdi->is_external)
> + list = &objfile->global_psymbols;
> + else
> + list = &objfile->global_psymbols;
Are these supposed to be different?
-Nathan