From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4297 invoked by alias); 27 Jul 2006 00:42:36 -0000 Received: (qmail 4288 invoked by uid 22791); 27 Jul 2006 00:42:35 -0000 X-Spam-Check-By: sourceware.org Received: from potter.codesourcery.com (HELO mail.codesourcery.com) (65.74.133.4) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 27 Jul 2006 00:42:34 +0000 Received: (qmail 26397 invoked from network); 27 Jul 2006 00:42:32 -0000 Received: from unknown (HELO localhost) (jimb@127.0.0.2) by mail.codesourcery.com with ESMTPA; 27 Jul 2006 00:42:32 -0000 To: Pedro Alves Cc: gdb@sources.redhat.com Subject: Re: DWARF for arm-wince-pe. References: <44C7DE1C.8080404@portugalmail.pt> From: Jim Blandy Date: Thu, 27 Jul 2006 00:45:00 -0000 In-Reply-To: <44C7DE1C.8080404@portugalmail.pt> (Pedro Alves's message of "Wed, 26 Jul 2006 22:26:52 +0100") Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2006-07/txt/msg00193.txt.bz2 Pedro Alves writes: > I'm trying to add dwarf support for arm-wince-pe. I have implemented the > binutils and the gcc part. > I am now looking into gdb support. > > Gdb is issuing this internan-error: > > "/cygdrive/d/cegcc/trunk/cegcc/src/gdb-cvs/gdb/dwarf2read.c:1293: > internal-error: read_comp_unit_head: dwarf from non elf file > A problem internal to GDB has been detected, > further debugging may prove unreliable." Hmm. I was almost sure we had DWARF PE support going. Which version of GDB are you using? Have you tried the current CVS sources? http://sourceware.org/gdb/current/