From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2020 invoked by alias); 26 Sep 2005 19:08:00 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 1992 invoked by uid 22791); 26 Sep 2005 19:07:51 -0000 Received: from romy.inter.net.il (HELO romy.inter.net.il) (192.114.186.66) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Mon, 26 Sep 2005 19:07:51 +0000 Received: from HOME-C4E4A596F7 (IGLD-83-130-206-248.inter.net.il [83.130.206.248]) by romy.inter.net.il (MOS 3.5.8-GR) with ESMTP id CNA00469 (AUTH halo1); Mon, 26 Sep 2005 22:07:47 +0300 (IDT) Date: Mon, 26 Sep 2005 19:08:00 -0000 Message-Id: From: Eli Zaretskii To: Dave Murphy CC: drow@false.org, gdb-patches@sources.redhat.com In-reply-to: <43377D19.7050505@ntlworld.com> (message from Dave Murphy on Mon, 26 Sep 2005 05:46:17 +0100) Subject: Re: [patch] Build arm-elf-gdb on mingw host Reply-to: Eli Zaretskii References: <4337317B.3050300@ntlworld.com> <20050926035937.GA24565@nevyn.them.org> <43377D19.7050505@ntlworld.com> X-SW-Source: 2005-09/txt/msg00230.txt.bz2 > Date: Mon, 26 Sep 2005 05:46:17 +0100 > From: Dave Murphy > CC: Eli Zaretskii , gdb-patches@sources.redhat.com > > Sorry, I should have said that under mingw/msys files read in text mode > have line endings converted. There are numerous places in chew.c where > it checks for a newline character with expressions like "while (at (tos, > idx) == '\n')", see skip_white_and_stars(src, idx), > strip_trailing_newlines(), remove_noncomments (src, dst), > outputdots(), courierize(), bulletize(), copy_past_newline (ptr, idx, > dst), kill_bogus_lines(), indent(), skip_past_newline () and nextword > (string, word). It seemed easier to just read the input files as binary > and suppress the conversion rather than make all the code deal with the > "/r/n" sequence. Text-mode read conversion just removes \r from a \r\n pair, thus doing exactly what you want. Others suggested that you actually mean the problem is with makeinfo, not with chew. The error messages you show us also seem to indicate that this is the problem. Can you please confirm that this indeed is the case?