Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

409
Vistas
Can't debug shared library with gdb

When I attach to process with GDB I saw that warning:

Reading symbols from /CloneFileSystem/lib/ld-uClibc.so.0...
(No debugging symbols found in /CloneFileSystem/lib/ld-uClibc.so.0)
warning: Unable to find dynamic linker breakpoint function.
GDB will be unable to debug shared library initializers
and track explicitly loaded dynamic code.

Even I use set sysroot /CloneFileSystem with all the libraries there, that not help.

My process call to function in shared library and that function call to another function in another shared library.

For example ProcessFunc-> Lib1Func -> Lib2Func

I want to debug Lib2Func but when I run command b Lib2Func gdb can't set a breakpoint there event that library is already loaded

file myexe -> interpreter /lib/ld-uClibc.so.0

When I use info sharedlibrary in GDB I can't the value in From and To (address of loaded are empty)

over 4 years ago · Santiago Trujillo
1 Respuestas
Responde la pregunta

0

You might want to try recompiling the library with a -g option. It's saying it can't find the debug info. -g provides for debugging info if you are using gcc. This is the first thing i'd check. If the library is big this may take awhile.

over 4 years ago · Santiago Trujillo Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda