From: Daniel Jacobowitz <drow@false.org>
To: gdb-patches@sources.redhat.com, jimb@redhat.com, ezannoni@redhat.com
Subject: Re: [RFA/dwarf] Partial DIE support for specifications
Date: Mon, 12 Apr 2004 21:14:00 -0000 [thread overview]
Message-ID: <20040412211358.GB1900@nevyn.them.org> (raw)
In-Reply-To: <20040402204733.GA16725@nevyn.them.org>
Ping.
On Fri, Apr 02, 2004 at 03:47:33PM -0500, Daniel Jacobowitz wrote:
> 2004-04-02 Daniel Jacobowitz <drow@mvista.com>
>
> * dwarf2read.c: Include "hashtab.h".
> (struct dwarf2_cu): Add partial_dies, comp_unit_obstack,
> has_namespace_info.
> (struct partial_die_info): Add comments. Use bitfields to reduce
> memory footprint. Add scope, scope_set, has_specification,
> spec_offset, die_parent, die_child, and die_sibling.
> (peek_die_abbrev): Add prototype.
> (partial_read_comp_unit_head): New function, broken out from
> dwarf2_build_psymtabs_hard.
> (dwarf2_build_psymtabs_hard): Remove unused variable abbrev_ptr.
> Use partial_read_comp_unit_head. Initialize the CU and
> comp_unit_obstack. Update calls to read_partial_die and
> scan_partial_symbols. Use free_stack_comp_unit and
> load_partial_dies.
> (scan_partial_symbols): Change PDI to a pointer. Use the child and
> sibling pointers to walk partial DIEs. Call fixup_partial_die.
> Update calls to helper functions. Remove NAMESPACE argument.
> (partial_die_parent_scope, partial_die_full_name): New functions.
> (add_partial_symbol): Remove namespace argument. Update call to
> pdi_needs_namespace. Use partial_die_full_name. Handle
> DW_TAG_namespace. Check has_namespace_info flag.
> (pdi_needs_namespace): Remove NAMESPACE argument. Just check the
> tag. Handle namespaces.
> (add_partial_namespace, add_partial_enumeration): Simplify.
> (guess_structure_name): New function, derived from
> add_partial_structure.
> (add_partial_structure): Remove.
> (determine_class_name): Update comment.
> (dwarf2_read_abbrevs): Set has_namespace_info flag.
> (is_type_tag_for_partial, load_partial_dies): New functions.
> (read_partial_die): Pass abbrev and abbrev_len as arguments.
> Record specifications instead of following them immediately.
> (find_partial_die_in_comp_unit, find_partial_die)
> (fixup_partial_die, free_stack_comp_unit)
> (hashtab_obstack_allocate, dummy_obstack_deallocate)
> (partial_die_hash, partial_die_eq): New functions.
> * Makefile.in (hashtab_h): Define.
> (dwarf2read.o): Update dependencies.
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer
next prev parent reply other threads:[~2004-04-12 21:14 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-04-02 20:47 Daniel Jacobowitz
2004-04-12 21:14 ` Daniel Jacobowitz [this message]
2004-04-15 7:31 ` Jim Blandy
2004-04-16 15:18 ` Daniel Jacobowitz
2004-04-16 21:30 ` Jim Blandy
2004-04-03 16:33 r6144
2004-04-03 22:17 ` Daniel Jacobowitz
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20040412211358.GB1900@nevyn.them.org \
--to=drow@false.org \
--cc=ezannoni@redhat.com \
--cc=gdb-patches@sources.redhat.com \
--cc=jimb@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox