From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11088 invoked by alias); 21 Jul 2010 22:54:18 -0000 Received: (qmail 11076 invoked by uid 22791); 21 Jul 2010 22:54:18 -0000 X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL,BAYES_00,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mail.codesourcery.com (HELO mail.codesourcery.com) (38.113.113.100) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 21 Jul 2010 22:54:13 +0000 Received: (qmail 19333 invoked from network); 21 Jul 2010 22:54:12 -0000 Received: from unknown (HELO digraph.polyomino.org.uk) (joseph@127.0.0.2) by mail.codesourcery.com with ESMTPA; 21 Jul 2010 22:54:12 -0000 Received: from jsm28 (helo=localhost) by digraph.polyomino.org.uk with local-esmtp (Exim 4.69) (envelope-from ) id 1ObiB1-0006UY-1Q; Wed, 21 Jul 2010 22:54:11 +0000 Date: Wed, 21 Jul 2010 22:54:00 -0000 From: "Joseph S. Myers" To: Tom Tromey cc: "Maciej W. Rozycki" , gdb@sourceware.org Subject: Re: MIPS: 64-bit DWARF In-Reply-To: Message-ID: References: <4BE16915.7080501@codesourcery.com> <20100505143213.GA4735@caradoc.them.org> <4BE187D8.4050804@codesourcery.com> <20100507132310.GA6374@host0.dyn.jankratochvil.net> <87sk431a3j.fsf@dirichlet.schwinge.homeip.net> <87fwzxvslw.fsf_-_@dirichlet.schwinge.homeip.net> <87eif6v450.fsf@dirichlet.schwinge.homeip.net> <4C3DEC14.8090601@caviumnetworks.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2010-07/txt/msg00079.txt.bz2 On Thu, 15 Jul 2010, Tom Tromey wrote: > >>>>> "Maciej" == Maciej W Rozycki writes: > > I trimmed the CCs. > > Maciej> GDB as of 6.8 didn't cope at all with 64-bit DWARF records that > Maciej> were generated for n64 binaries before the switch (for the MIPS > Maciej> platform, that is -- I'd expect it to work for some others, > Maciej> especially ones that have always been 64-bit like the Alpha) -- > Maciej> the usual symptom was a complete exhaustion of the stack space > Maciej> followed by a crash (tested natively only). > > Could you try a newer gdb? And, if it still fails, file a bug report? > > gdb isn't fully ready for 64 bit DWARF (e.g., CU offsets are still just > unsigned ints), but it shouldn't crash. I fixed problems with GCC's 64-bit DWARF output with and switched to 32-bit output with . There won't have been many compilers that produced correct 64-bit DWARF for this target, rather than broken 64-bit DWARF or correct 32-bit DWARF. (And, yes, GDB had a propensity to crash then on broken DWARF debug info, and I'm not aware of it since having been fixed to handle broken debug info robustly.) -- Joseph S. Myers joseph@codesourcery.com