This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: warning: Could not load shared library symbols for linux-vdso.so.1.


On 08/22/2016 10:36 AM, Yao Qi wrote:
> 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.
> 

Alright, I've filed PR 20515 and then pushed to both master and 7.12.

Thanks,
Pedro Alves


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]