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 commandnext
instead of using thestep
not to log into all function calls and see if it works.– gfleck