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: Yao Qi <qiyaoltc@gmail.com>,
	 "gdb-patches\@sourceware.org" <gdb-patches@sourceware.org>
Subject: Re: warning: Could not load shared library symbols for linux-vdso.so.1.
Date: Mon, 22 Aug 2016 09:36:00 -0000	[thread overview]
Message-ID: <868tvpcfhs.fsf@gmail.com> (raw)
In-Reply-To: <99360558-784c-6bab-9d0c-86473a4f8b75@redhat.com> (Pedro Alves's	message of "Fri, 19 Aug 2016 15:02:44 +0100")

Pedro Alves <palves@redhat.com> writes:

>
> If reading the elf out of core memory works, then that means that
> there must be a load segment that covers it.  So that means we should
> be able to find a PT_LOAD segment for the vDSO, in the core file.  E.g.,:
>

It is a good idea to tell the size of vDSO by a PT_LOAD segment.  I
can't figure out a case this doesn't work.  Patch is good me.

Note that I am unable to run the tests on the aarch64 machine where I
reported the problem, because it is stuck in the kernel upgrade.
However, I run your patch on other aarch64 machine.  Your patch does
fixes the fails in vdso-warning.exp.

Thanks a lot for fixing it in different ways.

-- 
Yao (齐尧)


  reply	other threads:[~2016-08-22  9:36 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
2016-08-19 14:02             ` Pedro Alves
2016-08-22  9:36               ` Yao Qi [this message]
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=868tvpcfhs.fsf@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