aboutsummaryrefslogtreecommitdiff
path: root/gdb/objfiles.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2001-07-05 21:32:39 +0000
committerAndrew Cagney <cagney@redhat.com>2001-07-05 21:32:39 +0000
commitbdda63b0c5cf6785c3c6583c12bd2b111f7993b6 (patch)
tree983c3ea1374082943a9d0e728ec02c35dfa4de4f /gdb/objfiles.c
parent7b570125526890921e675d5df52e9c0ceffc54dc (diff)
downloadgdb-bdda63b0c5cf6785c3c6583c12bd2b111f7993b6.zip
gdb-bdda63b0c5cf6785c3c6583c12bd2b111f7993b6.tar.gz
gdb-bdda63b0c5cf6785c3c6583c12bd2b111f7993b6.tar.bz2
s/basename/lbasename/
Diffstat (limited to 'gdb/objfiles.c')
-rw-r--r--gdb/objfiles.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/objfiles.c b/gdb/objfiles.c
index e862709..85762c3 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)
{