Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

403
Visualizações
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 Respostas
Responde à pergunta

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 Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda