Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Doug Evans <dje@google.com>
To: gdb-patches@sourceware.org
Cc: ccoutant@google.com, saugustine@google.com
Subject: Re: [RFA 2/3] Initial Fission support, rewrite DIE reading
Date: Wed, 25 Apr 2012 14:58:00 -0000	[thread overview]
Message-ID: <CADPb22R+ynY6CGZvXe7jfLmcdno0wjYfyQ3MyxAPTmCfWKe9nA@mail.gmail.com> (raw)
In-Reply-To: <20120418185511.0AED52461AF@ruffy.mtv.corp.google.com>

On Wed, Apr 18, 2012 at 11:55 AM, Doug Evans <dje@google.com> wrote:
> Hi.
>
> This is the second patch in the Fission series and an updated
> version of what I posted earlier:
> http://sourceware.org/ml/gdb-patches/2012-04/msg00337.html
>
> It requires patch 1/3, and the cleanup improvements, but (simply for reference
> sake) after removing the few Fission references it could go in as is
> (if one wanted).
>
> Regression tested on amd64-linux, with/without dwarf4 and .gdb_index.
>
> Ok to commit?
>
> [Blech, one last review shows I didn't address the FIXME Tom suggested
> I just remove.  I'll remove it prior to checkin.]
>
>
> 2012-04-18  Doug Evans  <dje@google.com>
>
>        * dwarf2read.c (dwarf2_per_objfile): Replace members
>        debug_info_type_hash and debug_types_type_hash with die_type_hash.
>        (die_reader_specs): New member "die_section".  Temporarily make
>        member "buffer" non-const, pending constifying all info_ptr uses.
>        (die_reader_func_ftype): New typedef.
>        (dw2_get_file_names_reader): New function.
>        (dw2_get_file_names): Rewrite.
>        (read_and_check_type_unit_head): Rename arg type_offset to
>        type_offset_in_tu.
>        (create_all_type_units): Improve debugging message.
>        Improve dummy type unit check.
>        (init_cu_die_reader): New arg "section".  All callers updated.
>        (init_and_read_dies_worker): New function.
>        (init_cu_and_read_dies, init_tu_and_read_dies): New functions.
>        (init_cutu_and_read_dies_no_follow): New function.
>        (init_cutu_and_read_dies_simple): New function.
>        (process_psymtab_comp_unit_reader): New function.
>        (process_psymtab_comp_unit): Delete args section,
>        is_debug_types_section.  Rewrite.  All callers updated.
>        (process_psymtab_type_unit): Renamed from process_type_comp_unit.
>        All callers updated.  Rewrite.
>        (load_partial_comp_unit_reader): New function.
>        (load_partial_comp_unit): Rewrite.
>        (skip_children): New arg reader.  Delete args buffer, cu.
>        All callers updated.
>        (skip_one_die): New arg reader.  Delete args buffer, cu.
>        All callers updated.
>        (locate_pdi_sibling): New arg reader.  Delete args buffer, abfd, cu.
>        All callers updated.
>        (load_full_comp_unit_reader): New function.
>        (load_full_comp_unit): Rewrite.
>        (read_comp_unit): Delete.
>        (read_die_and_children_1): Delete, contents moved ...
>        (read_die_and_children): ... here.
>        (dwarf2_read_abbrevs): New arg abbrev_section.  All callers updated.
>        (load_partial_dies): New arg reader.  Delete args abfd, buffer, cu.
>        All callers updated.
>        (read_partial_die): New arg reader.  Delete args abfd, buffer, cu.
>        All callers updated.
>        (find_partial_die): Rewrite load_all_dies support.
>        (read_attribute_value): New arg reader.  Delete args abfd, cu.
>        All callers updated.
>        (read_attribute): New arg reader.  Delete args abfd, cu.
>        All callers updated.
>        (load_full_type_unit): Add assert.
>        (read_signatured_type_reader): New function.
>        (read_signatured_type): Rewrite.
>        (free_stack_comp_unit): Remove call to age_cached_comp_units.
>        (free_one_cached_comp_unit): Change target_cu arg to target_per_cu.
>        All callers updated.  Set per_cu->cu = NULL after freeing it.
>        (dwarf2_per_cu_offset_and_type): Renamed from dwarf2_offset_and_type.
>        (per_cu_offset_and_type_hash): Renamed from offset_and_type_hash.
>        (per_cu_offset_and_type_eq): Renamed from offset_and_type_eq.
>        (set_die_type): Update.
>        (get_die_type_at_offset): Update.
>        (read_file_scope): Call prepare_one_comp_unit.
>        (read_type_unit_scope): Ditto.
>        (prepare_one_comp_unit): Set producer if present.

Hi.  Just a friendly ping.


  reply	other threads:[~2012-04-25 14:39 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-18 18:58 Doug Evans
2012-04-25 14:58 ` Doug Evans [this message]
2012-04-26 21:52 ` Tom Tromey
2012-04-26 23:05   ` Doug Evans
2012-04-29  9:17     ` Crash regression for gdb.ada/*.exp [Re: [RFA 2/3] Initial Fission support, rewrite DIE reading] Jan Kratochvil
2012-04-30  1:37       ` Doug Evans
2012-04-30  2:05         ` Jan Kratochvil
2012-04-30 17:09           ` Doug Evans
2012-04-30 17:19             ` Jan Kratochvil
2012-04-30 18:09               ` Doug Evans
2012-05-02 23:19             ` Crash on new testcase gdb.dwarf2/pr13961.exp [Re: Crash regression for gdb.ada/*.exp] Jan Kratochvil
2012-05-03  6:54               ` Doug Evans
2012-07-19  8:17             ` Crash regression for gdb.ada/*.exp [Re: [RFA 2/3] Initial Fission support, rewrite DIE reading] Andreas Schwab
2012-07-19 16:18               ` dje

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=CADPb22R+ynY6CGZvXe7jfLmcdno0wjYfyQ3MyxAPTmCfWKe9nA@mail.gmail.com \
    --to=dje@google.com \
    --cc=ccoutant@google.com \
    --cc=gdb-patches@sourceware.org \
    --cc=saugustine@google.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