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

Warnings regarding error loading solib


Hello,

My program includes numerous shared libraries. I have created an image of
the target libraries on the host, and set solib-absolute-prefix
appropriately.

Sometimes, I would not like all the shared libraries to be loaded (e.g. for
they are large and I don't need all the corresponding symbols). I see this
is possible by not including the relevant libraries in the image, but then I
get error messages whenever passing through symbols non loaded (even if not
stepping into them).

I see that I can load shared libraries manually using "set auto-solib-add
off", but this not the desired behavior - I would like many of the libraries
to be loaded automatically.

- Is it possible to cause gdb load (automatically) only symbols file for
which symbols are required (e.g. when visiting them)?
Or:
- Is it possible to eliminate the error messages regarding loading of
unavailable symbol files?

Regards,

Avi


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