diff options
author | Andrew Cagney <cagney@redhat.com> | 2001-07-05 21:32:39 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2001-07-05 21:32:39 +0000 |
commit | bc95eb3719a0c19b152abf320d2b59f99435577e (patch) | |
tree | 61ab7be28b4bbd114f3825811f69f104ae2a3785 /gdb/objfiles.c | |
parent | b69500fe5684ac398461a5ed528fb89940cd87a5 (diff) | |
download | gdb-bc95eb3719a0c19b152abf320d2b59f99435577e.tar.gz |
s/basename/lbasename/
Diffstat (limited to 'gdb/objfiles.c')
-rw-r--r-- | gdb/objfiles.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/objfiles.c b/gdb/objfiles.c index e86270964e0..85762c3b4df 100644 --- a/gdb/objfiles.c +++ b/gdb/objfiles.c @@ -854,7 +854,7 @@ open_mapped_file (char *filename, long mtime, int flags) /* First try to open an existing file in the current directory, and then try the directory where the symbol file is located. */ - symsfilename = concat ("./", basename (filename), ".syms", (char *) NULL); + symsfilename = concat ("./", lbasename (filename), ".syms", (char *) NULL); if ((fd = open_existing_mapped_file (symsfilename, mtime, flags)) < 0) { xfree (symsfilename); @@ -874,7 +874,7 @@ open_mapped_file (char *filename, long mtime, int flags) if ((fd < 0) && (flags & OBJF_MAPPED)) { xfree (symsfilename); - symsfilename = concat ("./", basename (filename), ".syms", + symsfilename = concat ("./", lbasename (filename), ".syms", (char *) NULL); if ((fd = open (symsfilename, O_RDWR | O_CREAT | O_TRUNC, 0666)) < 0) { |