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.


Pedro Alves <palves@redhat.com> writes:

> So I bit the bullet and made a custom Linux-specific
> struct solib_ops that inherits svr4_so_ops, and overrides a couple
> methods for vDSO awareness.  I think the end result is clearer
> and probably more extensible if/when we decide to do the work necessary
> to be able to show the vdso in "info sharedlibrary", without causing
> could-not-find-file warnings.
>
> I'm attaching two patches; the first implements the new solib_ops
> instance, and then the second uses the vDSO's bfd size, fixing the
> bug.
>
> Passes testing on x86_64 Fedora 23 here, as well as the new test.
>
> Let me know what you think.

They are good to me.  Do you plan to push them to 7.12 branch?  I'd like
to keep these patches in master only, because the problem they fix is
minor while the patches are not small changes.  What do you think?

-- 
Yao (齐尧)


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