* symtab.c (lookup_symtab_1, lookup_partial_symtab): Use basename
authorEli Zaretskii <eliz@gnu.org>
Sun, 6 May 2001 06:07:20 +0000 (06:07 +0000)
committerEli Zaretskii <eliz@gnu.org>
Sun, 6 May 2001 06:07:20 +0000 (06:07 +0000)
commita7fdf62f9b557077e66b322619c584c5031b03a2
treebbf0e1e85227d4c190d1dabac579f7723a9cc726
parent644a1fe1ca256e8fa6a23276c25b0c7d3a687a0f
* symtab.c (lookup_symtab_1, lookup_partial_symtab): Use basename
instead of non-portable search for `/'.  Use FILENAME_CMP instead
of STREQ, to account for case-insensitive filesystems.
(top-level): #include "filenames.h".
gdb/ChangeLog
gdb/symtab.c