This is the mail archive of the gdb-prs@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]

[Bug symtab/17064] gdb's can't find Linux 3.16-rc1's vdso build-id


https://sourceware.org/bugzilla/show_bug.cgi?id=17064

--- Comment #7 from Andy Lutomirski <luto at mit dot edu> ---
I tested GDB version 7.7.1-13.fc20.

GDB/binutils revision 5979d6b69b20a8355ea94b75fad97415fce4788c is unlikely to
help.  It's actually related to why I changed the vdso in the first place.

The issue is that there's now user/kernel shared data right after the vdso
PT_LOAD segment.  That breaks if the section headers spill past the end of the
last page in the vdso PT_LOAD segment.  It's also nice to keep the vdso mapping
as small as possible.  My solution was to just strip off the section headers
entirely.

If necessary, I'm willing to compromise in the kernel (I already had to for
Go), but it looked like this should be easy to fix in binutils.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


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