From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19318 invoked by alias); 8 Jun 2006 09:23:59 -0000 Received: (qmail 19310 invoked by uid 22791); 8 Jun 2006 09:23:58 -0000 X-Spam-Check-By: sourceware.org Received: from ug-out-1314.google.com (HELO ug-out-1314.google.com) (66.249.92.168) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 08 Jun 2006 09:23:25 +0000 Received: by ug-out-1314.google.com with SMTP id j40so680017ugd for ; Thu, 08 Jun 2006 02:23:22 -0700 (PDT) Received: by 10.67.96.14 with SMTP id y14mr1338474ugl; Thu, 08 Jun 2006 02:23:22 -0700 (PDT) Received: from samsung ( [212.84.101.190]) by mx.gmail.com with ESMTP id k2sm1842725ugf.2006.06.08.02.23.22; Thu, 08 Jun 2006 02:23:22 -0700 (PDT) Date: Thu, 08 Jun 2006 09:23:00 -0000 To: "Keith Seitz" Subject: Re: Insight EOL display Cc: insight@sources.redhat.com, "Duane Ellis" References: <44870F0E.6070208@redhat.com> From: "Dave Bryan" Content-Type: text/plain; format=flowed; delsp=yes; charset=iso-8859-15 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-ID: In-Reply-To: <44870F0E.6070208@redhat.com> User-Agent: Opera M2/8.54 (Win32, build 7730) Mailing-List: contact insight-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: insight-owner@sourceware.org X-SW-Source: 2006-q2/txt/msg00049.txt.bz2 Keith, I'm seeing these markers part way through a file. In particular when I've edited a file thats part of a gcc project using Visual Studio. It seems to save the parts I've edited with \r\n eols but retains the original eols for the parts I haven't edited (I typically wouldn't edit the beginning of the file). This confirms the suspicions that Duane mentioned about in his email so it looks as it is safer to parse the whole source when loading. Off-subject but do you know how to get a hex display in the balloon popups when hovering over a variable ? Regards Dave > Dave Bryan wrote: > >> I'm using Insight under Windows and I'm seeing end of line square >> markers in the source window. >> Is there any way to get Insight to not display these markers ? > > Are you sure they are carriage returns? The function gdb_loadfile in > gdbtk-cmds.c already strips the carriage return: > > /* Look for DOS style \r\n endings, and if found, > * strip off the \r. We assume (for the sake of > * speed) that ALL lines in the file have DOS endings, > * or none do. > */ > > Do you see these markers on EVERY line (in particular, the first)? Can > you find out what the value of the char is that is causing problems? > > Keith