Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Simon Marchi <simon.marchi@efficios.com>
To: Kevin Buettner <kevinb@redhat.com>
Cc: gdb-patches@sourceware.org
Subject: Re: [PATCH] gdb/solib-svr4: use program space from solib in find_debug_base_for_solib
Date: Fri, 11 Jul 2025 11:24:25 -0400	[thread overview]
Message-ID: <8bcdc5c0-558e-4200-aaa8-6560dddd7006@efficios.com> (raw)
In-Reply-To: <20250709194423.3080d185@f41-zbm-amd>

On 7/9/25 10:44 PM, Kevin Buettner wrote:
> On Wed,  9 Jul 2025 10:18:46 -0400
> Simon Marchi <simon.marchi@efficios.com> wrote:
> 
>> Instead of using the current global program space, I think it makes
>> sense to fetch the program space from the solib.  The comment for
>> solib::objfile indicates that it may be nullptr (which is true), but in
>> this case, the callers (all in
>> svr4_iterate_over_objfiles_in_search_order) find the solib from an
>> objfile, so we know that solib::objfile (the link in the opposite
>> direction) is set for these solibs at this point.
> 
> Looks right to me.
> 
> Approved-by: Kevin Buettner <kevinb@redhat.com>
> 

Thanks, pushed.

Simon

      reply	other threads:[~2025-07-11 15:25 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-07-09 14:18 Simon Marchi
2025-07-10  2:44 ` Kevin Buettner
2025-07-11 15:24   ` Simon Marchi [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=8bcdc5c0-558e-4200-aaa8-6560dddd7006@efficios.com \
    --to=simon.marchi@efficios.com \
    --cc=gdb-patches@sourceware.org \
    --cc=kevinb@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