From mboxrd@z Thu Jan 1 00:00:00 1970 From: dje@watson.ibm.com To: gcc-gnats@gcc.gnu.org Subject: debug/3267: C++ debugging information refers to incorrect line Date: Tue, 19 Jun 2001 11:56:00 -0000 Message-id: <20010619184953.25036.qmail@sourceware.cygnus.com> X-SW-Source: 2001-06/msg00793.html List-Id: >Number: 3267 >Category: debug >Synopsis: C++ debugging information refers to incorrect line >Confidential: no >Severity: serious >Priority: high >Responsible: unassigned >State: open >Class: sw-bug >Submitter-Id: net >Arrival-Date: Tue Jun 19 11:56:00 PDT 2001 >Closed-Date: >Last-Modified: >Originator: dje@watson.ibm.com >Release: gcc 3.0 release >Organization: >Environment: powerpc-ibm-aix4.3.3.0 >Description: G++ refers to incorrect source line numbers in header files >How-To-Repeat: libstdc++-v3/libsupc++/eh_personality.cc __gxx_personality_v0 (PERSONALITY_FUNCTION) begins with: __cxx_exception *xh = __get_exception_header_from_ue (ue_header); The function __get_exception_header_from_ue() is defined in unwind-cxx.h at line 156. eh_personality.s debugging information states: LCFI..32: .bi "/usr/gnu/src/gcc-3.0/libstdc++-v3/libsupc++/unwind-cxx.h" .line 19 addi 28,7,-48 .ei "/usr/gnu/src/gcc-3.0/libstdc++-v3/libsupc++/unwind-cxx.h" .line 1 stw 0,8(1) .line 18 addi 0,7,24 .line 1 Line 19 of unwind-cxx.h is // Boston, MA 02111-1307, USA. which is exactly the line displayed when stepping through that part of the function in a debugger, but not the correct line 156. >Fix: >Release-Note: >Audit-Trail: >Unformatted: