Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Yao Qi <qiyaoltc@gmail.com>
To: Pedro Alves <palves@redhat.com>
Cc: "gdb-patches@sourceware.org" <gdb-patches@sourceware.org>
Subject: Re: warning: Could not load shared library symbols for linux-vdso.so.1.
Date: Fri, 19 Aug 2016 11:41:00 -0000	[thread overview]
Message-ID: <CAH=s-PP9s6QSX2n9vqy7H0_r+N1gpPwXOXdc2Ou4CTcp9qk8Fg@mail.gmail.com> (raw)
In-Reply-To: <f0295d50-db7b-4006-1204-f5aef39a1647@redhat.com>

On Fri, Aug 19, 2016 at 11:32 AM, Pedro Alves <palves@redhat.com> wrote:
>>
>> They are good to me.  Do you plan to push them to 7.12 branch?
>
> I was working under the assumption you wanted it in 7.12, given
> you set the milestone.  :-)
>

I put this issue there to make sure we don't forget this one.  At that moment,
I didn't expect a big change. :)

>
> However, if you want this on 7.12, then there's another option.  We
> can start with the hacky version that moves the add_vsyscall_page
> call to gdbarch_vsyscall_range, as mentioned in:
>
>> Now, in order to do this, we need to move the add_vsyscall_page
>> call earlier, before svr4_current_dsos is ever called, in order
>> to read the vdso bfd out of memory before we ever first need to
>> filter out the vdso.  The cleanest I could do with the current
>> gdbarch_vsyscall_range-based design was to do the add_vsyscall_page
>> call from within gdbarch_vsyscall_range.  But that looks very ugly
>> to me, for reading symbols from a quite innocent looking gdbarch hook.
>
> and then clean this up with the new linux_so_ops, on master, only.

OK, that is fine.

>
> So below's the "ugly" patch.  It's functionally exactly the same as
> the larger one.  The switch to linux_so_ops was mainly "cosmetic".
>
> Let me know what you prefer.
>

This patch is good to master and 7.12.

-- 
Yao (齐尧)


  reply	other threads:[~2016-08-19 11:41 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-11 11:46 Yao Qi
2016-08-11 15:57 ` Pedro Alves
2016-08-12 10:28   ` Yao Qi
2016-08-19  1:05     ` Pedro Alves
2016-08-19  9:59       ` Yao Qi
2016-08-19 10:32         ` Pedro Alves
2016-08-19 11:41           ` Yao Qi [this message]
2016-08-19 14:02             ` Pedro Alves
2016-08-22  9:36               ` Yao Qi
2016-08-22 19:47                 ` Pedro Alves

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='CAH=s-PP9s6QSX2n9vqy7H0_r+N1gpPwXOXdc2Ou4CTcp9qk8Fg@mail.gmail.com' \
    --to=qiyaoltc@gmail.com \
    --cc=gdb-patches@sourceware.org \
    --cc=palves@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