This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: warning: Could not load shared library symbols for linux-vdso.so.1.
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 (齐尧)