OSDN Git Service

* 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)
commitcdd86f119977e06aa182dec773137949f4c03bb1
tree16a817710ac0178d3d617e6e4406da570521b324
parent5f4b60ce6d08ea0478a94ee704c2c69b10e8dc67
* 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