This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
tui/2297: incorrect line numbers with DOS style(CRLF) source files
- From: choe dot hwanjin at gmail dot com
- To: gdb-gnats at sources dot redhat dot com
- Date: 9 Aug 2007 06:39:18 -0000
- Subject: tui/2297: incorrect line numbers with DOS style(CRLF) source files
- Reply-to: choe dot hwanjin at gmail dot com
>Number: 2297
>Category: tui
>Synopsis: incorrect line numbers with DOS style(CRLF) source files
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Thu Aug 09 06:48:01 UTC 2007
>Closed-Date:
>Last-Modified:
>Originator: choe.hwanjin@gmail.com
>Release: GNU gdb 6.6-debian
>Organization:
>Environment:
Debian sid
GNU gdb 6.6-debian
This GDB was configured as "i486-linux-gnu".
GNU C Library stable release version 2.6, by Roland McGrath et al.
Compiled by GNU CC version 4.1.3 20070629 (prerelease) (Debian 4.1.2-13).
Compiled on a Linux >>2.6.20.15<< system on 2007-07-10.
>Description:
When I use gdbtui with DOS style(CRLF) source file, it shows empty lines between every source lines.
So the line numbers do not match the source lines.
gdbtui should ignore CR and not show empty lines.
>How-To-Repeat:
It always happen when I debug the source file which has DOS style end of line.
>Fix:
gdbtui should not show empty lines.
>Release-Note:
>Audit-Trail:
>Unformatted: