From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23382 invoked by alias); 14 Jun 2002 14:06:04 -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 23363 invoked by uid 71); 14 Jun 2002 14:06:03 -0000 Resent-Date: 14 Jun 2002 14:06:03 -0000 Resent-Message-ID: <20020614140603.23362.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 Resent-Reply-To: gcc-gnats@gcc.gnu.org, a.bocaniciu@computer.org Received: (qmail 19656 invoked by uid 61); 14 Jun 2002 14:02:19 -0000 Message-Id: <20020614140218.19655.qmail@sources.redhat.com> Date: Fri, 14 Jun 2002 09:06:00 -0000 From: a.bocaniciu@computer.org Reply-To: a.bocaniciu@computer.org To: gcc-gnats@gcc.gnu.org X-Send-Pr-Version: gnatsweb-2.9.3 (1.1.1.1.2.31) Subject: target/7032: arm-elf-gcc 3.1 generates wrong DWARF-2, unlike 3.0.4 X-SW-Source: 2002-06/txt/msg00328.txt.bz2 List-Id: >Number: 7032 >Category: target >Synopsis: arm-elf-gcc 3.1 generates wrong DWARF-2, unlike 3.0.4 >Confidential: no >Severity: serious >Priority: medium >Responsible: unassigned >State: open >Class: sw-bug >Submitter-Id: net >Arrival-Date: Fri Jun 14 07:06:02 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Adrian Bocaniciu >Release: arm-elf-gcc version 3.1 >Organization: >Environment: Cross-compiler configured for --target=arm-elf, hosted on i686-pc-cygwin. However, it does not seem likely that the host may have any influence. >Description: Any executable file built from objects compiled with "-g" by arm-elf-gcc 3.1 crashes the ARM Ltd. debugger AXD when trying to load them. The same files compiled with arm-elf-gcc 3.0.4 work perfectly. If I remove from the executable both sections .debug_info and .debug_line, the file can be loaded without problems, but that is not useful, since essential debug information is stripped. If any of the two sections is not removed, the AXD debugger crashes with the same uninteligible error message ("DBE Warning 00255: WIN32 exception code 0xc0000005 was caught in dbess_image\dbt_image.cpp:160"; even if the message says it is a warning, the debugger becomes unusable and must be closed and restarted). >How-To-Repeat: Compile any file with "-g" option using arm-elf-gcc 3.1 and try to load it with ARM Ltd. AXD debugger. >Fix: In order to find the location of the bug, one must search what has changed between V3.0.4 and V3.1 in the generation of the sections .debug_info and .debug_line for the target arm-elf >Release-Note: >Audit-Trail: >Unformatted: