From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 416 invoked by alias); 18 Jul 2003 18:38:31 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 402 invoked from network); 18 Jul 2003 18:38:29 -0000 Received: from unknown (HELO gash2.peakpeak.com) (207.174.178.17) by sources.redhat.com with SMTP; 18 Jul 2003 18:38:29 -0000 Received: from fleche.redhat.com (tf0005.peakpeak.com [204.144.239.5]) by gash2.peakpeak.com (8.9.3/8.9.3.1) with ESMTP id MAA02404; Fri, 18 Jul 2003 12:38:24 -0600 Received: by fleche.redhat.com (Postfix, from userid 1000) id 1AAA64F8651; Fri, 18 Jul 2003 12:28:48 -0600 (MDT) To: David Carlton Cc: gdb , Mark Kettenis , Daniel Jacobowitz Subject: Re: GDB and Java References: <87smp3esha.fsf@fleche.redhat.com> <87fzl3er3t.fsf@fleche.redhat.com> <873ch3epgr.fsf@fleche.redhat.com> From: Tom Tromey Reply-To: tromey@redhat.com X-Attribution: Tom X-Zippy: I'm having BEAUTIFUL THOUGHTS about the INSIPID WIVES of smug and wealthy CORPORATE LAWYERS.. Date: Fri, 18 Jul 2003 18:38:00 -0000 In-Reply-To: <873ch3epgr.fsf@fleche.redhat.com> Message-ID: <87d6g7d6zj.fsf@fleche.redhat.com> User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2003-07/txt/msg00259.txt.bz2 Tom> I'll send more info after I debug gdb a bit. It is definitely an anonymous objfile causing the crash. I added this just before the use of SECT_OFF_TEXT in dwarf2_frame_find_fde: if (objfile->sect_index_text == -1) continue; With this gdb stops crashing. It still isn't all that usable -- sometimes "next" will act like "cont". I'm sure this change is pretty bogus... I can debug ok if I just remember to set a breakpoint whenever I would usually type "n". Pretty painful though. Tom