From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1370 invoked by alias); 1 Oct 2006 23:23:37 -0000 Received: (qmail 1360 invoked by uid 22791); 1 Oct 2006 23:23:36 -0000 X-Spam-Check-By: sourceware.org Received: from nevyn.them.org (HELO nevyn.them.org) (66.93.172.17) by sourceware.org (qpsmtpd/0.31.1) with ESMTP; Sun, 01 Oct 2006 23:23:34 +0000 Received: from drow by nevyn.them.org with local (Exim 4.54) id 1GUAeh-0003JL-Rf; Sun, 01 Oct 2006 19:23:31 -0400 Date: Sun, 01 Oct 2006 23:23:00 -0000 From: Daniel Jacobowitz To: Michael Eager Cc: gdb@sources.redhat.com Subject: Re: Incorrect breakpoint address w no stabs Message-ID: <20061001232331.GA12646@nevyn.them.org> Mail-Followup-To: Michael Eager , gdb@sources.redhat.com References: <451FFF24.3010201@eagercon.com> <20061001181609.GA5065@nevyn.them.org> <45202A0B.9080004@eagercon.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <45202A0B.9080004@eagercon.com> User-Agent: Mutt/1.5.13 (2006-08-11) 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-10/txt/msg00004.txt.bz2 On Sun, Oct 01, 2006 at 01:50:19PM -0700, Michael Eager wrote: > What breaks if I simply remove the "cleanup" code at the > end of read_dbx_symtab? I haven't the foggiest. You definitely can't remove the call to end_psymtab; you're going to lose the last partial symtab in the file. There might be something smarter you can do for the final address (adding text_size seems excessive). -- Daniel Jacobowitz CodeSourcery