* source.c (OPEN_MODE, FDOPEN_MODE): Define; value depends upon
authorIan Lance Taylor <ian@airs.com>
Fri, 4 Jul 1997 18:54:57 +0000 (18:54 +0000)
committerIan Lance Taylor <ian@airs.com>
Fri, 4 Jul 1997 18:54:57 +0000 (18:54 +0000)
commitf897ef47f1c58b2b309e3fa7e48cdbafb060ab00
tree173e9c2763970e2da382c004baf3df6b9e85cc31
parent96ac3cb652ab73f122659a0725aff74eb772e50e
* source.c (OPEN_MODE, FDOPEN_MODE): Define; value depends upon
whether CRLF_SOURCE_FILES is defined.
(open_source_file): Use OPEN_MODE with open and openp.
(print_source_lines): Use FDOPEN_MODE with fdopen.  If
CRLF_SOURCE_FILES is defined, ignore \r characters.
(forward_search_command): Use FDOPEN_MODE with fdopen.
(reverse_search_command): Likewise.
* config/i386/xm-cygwin32.h (CRLF_SOURCE_FILES): Define.
(LSEEK_NOT_LINEAR): Don't define.
gdb/ChangeLog
gdb/config/i386/xm-cygwin32.h