]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - gdb/symtab.c
* symtab.c (lookup_symtab_1): Use lbasename (NAME) instead of
authorMark Kettenis <kettenis@gnu.org>
Mon, 14 May 2001 18:49:54 +0000 (18:49 +0000)
committerMark Kettenis <kettenis@gnu.org>
Mon, 14 May 2001 18:49:54 +0000 (18:49 +0000)
commitcaadab2cfad7745956579147ce2d97254af33f1f
treed83e013b37590d3905b0d561f652a744337ff69b
parentcb0ba49e37b824e23fe9ff24f07c008e74a6a382
* symtab.c (lookup_symtab_1): Use lbasename (NAME) instead of
basename (NAME).  The FreeBSD basename returns a pointer to a
static buffer, even if it's simply returning a string identical to
its argument.
(lookup_partial_symtab): Likewise.
gdb/ChangeLog
gdb/symtab.c