Problem with GDB libraries

Asked

Viewed 111 times

1

People I am trying to debug a code but my gdb is bugged. It hangs whenever it executes something from a library is a printf,malloc. No code problem. I already uninstalled gcc and gdb and installed it again and the program continues.

The messages I receive:

at .. /sysdeps/x86_64/multiarch/strcmp-sse2-unaligned. S:24 24 .. /sysdeps/x86_64/multiarch/strcmp-sse2-unaligned. S: File or directory not found. (gdb) 25 in .. /sysdeps/x86_64/multiarch/strcmp-sse2-unaligned. S

or for example:

__printf (format=0x40342c "%s if:%s %s n") at printf. c:28 28 printf. c: File or directory not found. (gdb) 32 in printf. c (gdb) 33 in printf. c

Any suggestions on how to fix it? Thank you very much!

  • You are not trying to get inside these libraries with the command step? Try to give command next instead of using the step not to log into all function calls and see if it works.

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.