Bug 318 - ../sysdeps/generic/strcmp.c:38: No such file or directory
Summary: ../sysdeps/generic/strcmp.c:38: No such file or directory
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: gdb
Version: 5.2
Hardware: i386
OS: Linux
Target Milestone: ---
Assignee: David Lawrence
QA Contact:
Depends On:
TreeView+ depends on / blocked
Reported: 1998-12-06 17:04 UTC by jjesso
Modified: 2008-05-01 15:37 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 1998-12-06 20:53:48 UTC

Attachments (Terms of Use)

Description jjesso 1998-12-06 17:04:30 UTC
I don't know if this is a bug or what, but something is

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

Please help!! I really want to be able to debug my programs.

Thank you very much.
Jason Jesso.

Comment 1 David Lawrence 1998-12-06 20:53:59 UTC
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.

Note You need to log in before you can comment on or make changes to this bug.