[uclibc-ng-devel] ld.so cleanup

Max Filippov jcmvbkbc at gmail.com
Wed Jun 28 21:18:10 CEST 2017

Hi Waldemar,

On Mon, Jun 26, 2017 at 11:36 AM, Waldemar Brodkorb <wbx at uclibc-ng.org> wrote:
> I would suggest following patch, which removes the special
> communication between ld.so and gdb.
> While debugging a ld.so issue with gdb 8.0 on alpha, I recognized
> that the debugger stalled when trying to execute this code.
> It thought this code was added to help debugging ld.so, but it seems
> nowadays it prevents to do so. May be bitrotted?
> Does anyone found it useful while debugging ld.so with gdb in the
> past?

AFAIU this code is responsible for notifying gdb of loading/unloading
shared objects, not just for ld.so debugging. It makes gdb commands
like 'catch load' work, which I occasionally find useful.

-- Max

More information about the devel mailing list