From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 747 invoked by alias); 13 Apr 2002 23:56:01 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 725 invoked by uid 71); 13 Apr 2002 23:56:00 -0000 Resent-Date: 13 Apr 2002 23:56:00 -0000 Resent-Message-ID: <20020413235600.724.qmail@sources.redhat.com> Resent-From: gcc-gnats@gcc.gnu.org (GNATS Filer) Resent-To: nobody@gcc.gnu.org Resent-Cc: gcc-prs@gcc.gnu.org, gcc-bugs@gcc.gnu.org, Sylvain.Pion@sophia.inria.fr Resent-Reply-To: gcc-gnats@gcc.gnu.org, Sylvain.Pion@sophia.inria.fr Received:(qmail 29647 invoked by uid 61); 13 Apr 2002 23:52:23 -0000 Message-Id:<20020413235223.29646.qmail@sources.redhat.com> Date: Sat, 13 Apr 2002 16:56:00 -0000 From: Sylvain.Pion@sophia.inria.fr Reply-To: Sylvain.Pion@sophia.inria.fr To: gcc-gnats@gcc.gnu.org Cc: Sylvain.Pion@sophia.inria.fr X-Send-Pr-Version:gnatsweb-2.9.3 (1.1.1.1.2.31) X-GNATS-Notify:Sylvain.Pion@sophia.inria.fr Subject: debug/6291: Debugging broken on 3.1. GDB says : "Dwarf Error: Cannot handle DW_FORM_strp in DWARF reader." X-SW-Source: 2002-04/txt/msg00728.txt.bz2 List-Id: >Number: 6291 >Category: debug >Synopsis: Debugging broken on 3.1. GDB says : "Dwarf Error: Cannot handle DW_FORM_strp in DWARF reader." >Confidential: no >Severity: critical >Priority: medium >Responsible: unassigned >State: open >Class: sw-bug >Submitter-Id: net >Arrival-Date: Sat Apr 13 16:56:00 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Sylvain Pion >Release: 3.1 20020411 (prerelease) and 3.2 20020411 (experimental) >Organization: >Environment: RedHat Linux 6.1 (manually upgraded). GDB 5.1 >Description: Debugging information seems totally broken. When I compile a trivial C or C++ program, GDB tells me : Dwarf Error: Cannot handle DW_FORM_strp in DWARF reader. I can't even put a breakpoint on "main". This shows up with current GCC 3.1 and 3.2 (gcc and g++). 2.95.3 and 3.0.4 both work fine. This seems critical for the 3.1 release ! >How-To-Repeat: Compile with "-g", with gcc or g++ the following program: int main() { return 0; } Then run "gdb a.out", and then type "b main" in gdb. >Fix: I don't know of any fix. >Release-Note: >Audit-Trail: >Unformatted: