This is the mail archive of the
gdb-prs@sources.redhat.com
mailing list for the GDB project.
gdb/1266: incorrect listing of source code
- From: kokoskaj at seznam dot cz
- To: gdb-gnats at sources dot redhat dot com
- Date: 30 Jun 2003 11:55:55 -0000
- Subject: gdb/1266: incorrect listing of source code
- Reply-to: kokoskaj at seznam dot cz
>Number: 1266
>Category: gdb
>Synopsis: incorrect listing of source code
>Confidential: no
>Severity: serious
>Priority: low
>Responsible: unassigned
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Mon Jun 30 11:58:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator: kokoskaj@seznam.cz
>Release: GNU gdb 2003-06-06-cvs-debian
>Organization:
>Environment:
i686 GNU/Linux 2.4.21
Configured with: ../src/configure -v --enable-languages=c,c++,java,f77,pascal,objc,ada,treelang --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-gxx-include-dir=/usr/include/c++/3.3 --enable-shared --with-system-zlib --enable-nls --without-included-gettext --enable-__cxa_atexit --enable-clocale=gnu --enable-debug --enable-java-gc=boehm --enable-java-awt=xlib --enable-objc-gc i386-linux
Thread model: posix
gcc version 3.3 (Debian)
GDB i386-linux
>Description:
When using list command to view source code, if some specific lines (beginning of some C loops) are on the listing boundary, name and condition sometimes don't get listed.
Here specifically, multi-line comment just ended line before. The code compiles and works, including the loop.
The bug is rather cosmetic, priority low.
Session listing:
(gdb) list 158,159
158 */
159 while ((password = g_array_index(args->passwords, unsigned long*, j))) {
(gdb) list 159,159
159 {
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: