I'm trying to debug a code but my gdb is buggy. It crashes whenever executing something from a library be a printf, malloc. It's not code problem. I have already uninstalled gcc and gdb and installed again and the program continues.
The messages I get:
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.c: file or directory not found. printf.c: file or directory not found. (gdb) 32 in printf.c (gdb) 33 in printf.c
Any suggestions on how to solve? Many thanks!