]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - gdb/cli/cli-cmds.c
* source.c (mod_path, openp): Use HAVE_DOS_BASED_FILE_SYSTEM
authorEli Zaretskii <eliz@gnu.org>
Mon, 4 Jun 2001 07:45:08 +0000 (07:45 +0000)
committerEli Zaretskii <eliz@gnu.org>
Mon, 4 Jun 2001 07:45:08 +0000 (07:45 +0000)
commitfe4e3eb861f34aedece88a642124ef1b0601cf4d
tree4f338782875e8c0036cecbbc6a96d4aa5b89639e
parent37ba1196cfa445fc376f312d4152486692ce50b1
* source.c (mod_path, openp): Use HAVE_DOS_BASED_FILE_SYSTEM
instead of system-specific define's like _WIN32 and __MSDOS__.
Use IS_DIR_SEPARATOR and IS_ABSOLUTE_PATH instead of SLASH_P and
ROOTED_P.
(top-level): #include "filenames.h".

* solib.c (solib_open): Use IS_DIR_SEPARATOR and IS_ABSOLUTE_PATH
instead of SLASH_CHAR, ROOTED_P and SLASH_P.
(top-level): #include "filenames.h".

* defs.h (SLASH_P, SLASH_CHAR, ROOTED_P): Remove definitions.
(SLASH_STRING): Define only for _WIN32.

* completer.c: Use HAVE_DOS_BASED_FILE_SYSTEM instead of
__MSDOS_.

* cli/cli-cmds.c (cd_command): Use IS_DIR_SEPARATOR and
IS_ABSOLUTE_PATH instead of SLASH_P and ROOTED_P.  Replace
system-specific ifdefs with HAVE_DOS_BASED_FILE_SYSTEM.
(top-level): #include "filenames.h".
gdb/ChangeLog
gdb/cli/cli-cmds.c
gdb/completer.c
gdb/defs.h
gdb/solib.c
gdb/source.c