From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6793 invoked by alias); 14 Nov 2004 21:43:01 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 6743 invoked from network); 14 Nov 2004 21:42:51 -0000 Received: from unknown (HELO Cantor.suse.de) (195.135.220.2) by sourceware.org with SMTP; 14 Nov 2004 21:42:51 -0000 Received: from hermes.suse.de (hermes-ext.suse.de [195.135.221.8]) (using TLSv1 with cipher EDH-RSA-DES-CBC3-SHA (168/168 bits)) (No client certificate requested) by Cantor.suse.de (Postfix) with ESMTP id 5A02910A5723; Sun, 14 Nov 2004 22:24:37 +0100 (CET) To: Eli Zaretskii Cc: tromey@redhat.com, drow@false.org, otto.wyss@orpatec.ch, gdb@sources.redhat.com Subject: Re: GDB doesn't show the correct line References: <40D5E480.4A68163@orpatec.ch> <20040620202929.GA17216@nevyn.them.org> <40D7212F.E68A9D61@orpatec.ch> <20040621175928.GA13407@nevyn.them.org> <40D725AF.FC2AAF3A@orpatec.ch> <20041113201803.GA21320@nevyn.them.org> <01c4c9c9$Blat.v2.2.2$913fbf20@zahav.net.il> <20041113214612.GA30909@nevyn.them.org> <01c4ca89$Blat.v2.2.2$e9842b60@zahav.net.il> From: Andreas Schwab X-Yow: I know how to do SPECIAL EFFECTS!! Date: Sun, 14 Nov 2004 22:29:00 -0000 In-Reply-To: <01c4ca89$Blat.v2.2.2$e9842b60@zahav.net.il> (Eli Zaretskii's message of "Sun, 14 Nov 2004 22:37:32 +0200") Message-ID: User-Agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-SW-Source: 2004-11/txt/msg00138.txt.bz2 "Eli Zaretskii" writes: > This is important for GDB because we need to count lines exactly like > the compiler does. If we support sole \r even in mixed EOL-format > files, then it is not clear what to do with the \r\n case: is it a > single DOS-style line or one Mac-style and one Unix-style line? IMHO the longest match should count. But the more problematic cases would be \n\r or \r\r\n. Andreas. -- Andreas Schwab, SuSE Labs, schwab@suse.de SuSE Linux AG, Maxfeldstraße 5, 90409 Nürnberg, Germany Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."