public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
From: Guinevere Larsen <blarsen@redhat.com>
To: Tom Tromey <tom@tromey.com>
Cc: gdb-patches@sourceware.org
Subject: Re: [PATCH 2/2] Move read_addrmap_from_aranges to new file
Date: Fri, 27 Oct 2023 09:27:20 +0200	[thread overview]
Message-ID: <b095acd2-7896-59e6-0275-776bc816c383@redhat.com> (raw)
In-Reply-To: <8734xxuh2w.fsf@tromey.com>

On 27/10/2023 00:58, Tom Tromey wrote:
>>>>>> Guinevere Larsen <blarsen@redhat.com> writes:
>> On 14/10/2023 22:56, Tom Tromey wrote:
>>> In the interest of shrinking dwarf2/read.c a little more, this patch
>>> moves the code that deciphers .debug_aranges into a new file.
>> This is a good change, I just have a small question: why you only
>> chose to move read_addrmap_from_aranges and not also move
>> create_addrmap_from_aranges? I know the second function isn't in
>> dwarf2/read.c, but I think it would make aranges.c more consistent.
> create_addrmap_from_aranges is only used by read-debug-names.c, so it
> seemed a little better to just leave it there as a static function.
>
> Tom
>
Ah, I see. Sounds good enough for me, Reviewed-By: Guinevere Larsen 
<blarsen@redhat.com>

-- 
Cheers,
Guinevere Larsen
She/Her/Hers


      reply	other threads:[~2023-10-27  7:27 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-10-14 20:56 [PATCH 0/2] Two .debug_aranges changes Tom Tromey
2023-10-14 20:56 ` [PATCH 1/2] Pre-read .debug_aranges section Tom Tromey
2023-10-26  9:54   ` Guinevere Larsen
2023-10-29 16:34     ` Tom Tromey
2023-10-14 20:56 ` [PATCH 2/2] Move read_addrmap_from_aranges to new file Tom Tromey
2023-10-26  9:56   ` Guinevere Larsen
2023-10-26 22:58     ` Tom Tromey
2023-10-27  7:27       ` Guinevere Larsen [this message]

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=b095acd2-7896-59e6-0275-776bc816c383@redhat.com \
    --to=blarsen@redhat.com \
    --cc=gdb-patches@sourceware.org \
    --cc=tom@tromey.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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).