This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
debug/3202: incorrect debugging line number and/or file
- To: gcc-gnats at gcc dot gnu dot org
- Subject: debug/3202: incorrect debugging line number and/or file
- From: dje at watson dot ibm dot com
- Date: 16 Jun 2001 06:12:20 -0000
- Reply-To: dje at watson dot ibm dot com
>Number: 3202
>Category: debug
>Synopsis: incorrect debugging line number and/or file
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Jun 15 23:16:02 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator: dje@watson.ibm.com
>Release: gcc 3.0 20010614 (prerelease)
>Organization:
>Environment:
powerpc-ibm-aix4.3.3.0
>Description:
C source code which includes files defining functions,
especially functions which refer back to the first file,
produce debugging information which refers to the wrong
filename and/or the wrong line number in the file.
This likely affects all dbxout ports, not just AIX xcoffout.
>How-To-Repeat:
Debug an application which throws an exception through
libgcc_s.sh unwind-dw2.c, which includes unwind.inc, and
step through the functions. GDB complains about line
numbers greater than the number of lines in the files and
jumps to source code which is not related to the function
being debugged, but is a correct line number in another file.
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: