[uclibc-ng-devel] ld.so cleanup

Waldemar Brodkorb wbx at uclibc-ng.org
Thu Jun 29 11:11:04 CEST 2017

Hi Max,
Max Filippov wrote,

> 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.

Okay, thanks for your feedback. I think I will just discard the
patch and locally hack out the calls for now.
Maybe when alpha ld.so is working and the failure still exist,
I add another option to disable these calls via make menuconfig.

best regards

More information about the devel mailing list