diff options
author | Eli Zaretskii <eliz@gnu.org> | 2001-06-04 07:45:08 +0000 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2001-06-04 07:45:08 +0000 |
commit | cdd86f119977e06aa182dec773137949f4c03bb1 (patch) | |
tree | 16a817710ac0178d3d617e6e4406da570521b324 /gdb/completer.c | |
parent | 5f4b60ce6d08ea0478a94ee704c2c69b10e8dc67 (diff) | |
download | gdb-cdd86f119977e06aa182dec773137949f4c03bb1.tar.gz |
* 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".
Diffstat (limited to 'gdb/completer.c')
-rw-r--r-- | gdb/completer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/completer.c b/gdb/completer.c index 57aced8f4e0..90f428c5834 100644 --- a/gdb/completer.c +++ b/gdb/completer.c @@ -64,7 +64,7 @@ static char *gdb_completer_command_word_break_characters = break characters any characters that are commonly used in file names, such as '-', '+', '~', etc. Otherwise, readline displays incorrect completion candidates. */ -#ifdef __MSDOS__ +#if HAVE_DOS_BASED_FILE_SYSTEM /* MS-DOS and MS-Windows use colon as part of the drive spec, and most programs support @foo style response files. */ static char *gdb_completer_file_name_break_characters = " \t\n*|\"';?><@"; |