I don't know if this is a bug or what, but something is wrong. I have i386-redhat-linux 5.2. I use gdb to step through a C program and get these error messages when I come across something like f = fopen( filename, "r" ); ../sysdeps/generic/strcmp.c:38: No such file or directory I also get other errors about malloc.c. I am certain that the gdb program is the problem. By the way, I upgraded from rhl5.1 and got the same problem there also and am getting the same problem now with rhl5.2. Maybe it's something to do with how gdb was configured for redhat linux i386?? Please help!! I really want to be able to debug my programs. Thank you very much. Jason Jesso.
This is not really a bug. GDB is trying to find the source code file for the strcmp.c file which would not be present if you have not installed the source code for GLIBC. You can use the finish command in gdb to finish out the function call that orginally called strcmp.