* config/i386/xm-go32.h: Don't include fopen-bin.h.
authorEli Zaretskii <eliz@gnu.org>
Sat, 13 Nov 2004 17:00:04 +0000 (17:00 +0000)
committerEli Zaretskii <eliz@gnu.org>
Sat, 13 Nov 2004 17:00:04 +0000 (17:00 +0000)
commit2924732466d030308bbd0016dd544bc642a88bf8
treedee706ffaf15e713f00c596abf3b5b08438a17d2
parent6cfb3176b59426c6cbb25571f9a4fd23e54ea156
* config/i386/xm-go32.h: Don't include fopen-bin.h.
Don't define CRLF_SOURCE_FILES and DIRNAME_SEPARATOR.

* source.c (OPEN_MODE, FDOPEN_MODE): Remove the definitions in the
branch that doesn't define CRLF_SOURCE_FILES; always use
binary-mode open.
(print_source_lines_base, forward_search_command)
(reverse_search_command): Enable the code that accepts DOS-style
CRLF line endings on all platforms (this removes the need for
CRLF_SOURCE_FILES).

* defs.h: (DIRNAME_SEPARATOR) [__MSDOS__]: Define to ';'.
gdb/ChangeLog
gdb/config/i386/xm-go32.h
gdb/defs.h
gdb/source.c