This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch+7.5.1] Work around PR libc/13097 "linux-vdso.so.1" #3
On Fri, 23 Nov 2012 19:18:57 +0100, Pedro Alves wrote:
> It's found in AT_SYSINFO_EHDR too.
>
> Alternatively to hard coding the names, maybe we could match the vdso address
> found through that with the addresses found iterating the dynamic linker list, to
> know which dynamic linker entry is the vdso.
THis is how elfutils does it. But there can be multiple vDSOs I think while
AT_SYSINFO_EHDR is only one so I have to check that.
Jan