[PATCH glibc] nptl_db: different libpthread/ld.so load orders (bug 27744)

Florian Weimer fweimer@redhat.com
Fri Apr 16 17:26:25 GMT 2021


* Pedro Alves:

> If not, GDB should be keying the loading of libthread_db.so on
> something else.  Making GDB try to load libthread_db in reaction to
> processing ld.so instead libthread_db.so would fix that, I think.
> And, it would fix this ordering problem at hand as well.  So if we do
> that, maybe we don't need the other changes.

It may be a bit difficult to recognize ld.so though, given its
non-portable soname.

Thanks,
Florian



More information about the Gdb-patches mailing list