From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26879 invoked by alias); 3 Oct 2006 04:41:14 -0000 Received: (qmail 26871 invoked by uid 22791); 3 Oct 2006 04:41:13 -0000 X-Spam-Check-By: sourceware.org Received: from shell4.BAYAREA.NET (HELO shell4.bayarea.net) (209.128.82.1) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 03 Oct 2006 04:41:10 +0000 Received: from [192.168.20.7] (209-128-106-254.bayarea.net [209.128.106.254]) (authenticated bits=0) by shell4.bayarea.net (8.13.6/8.13.6) with ESMTP id k934f6r5013341; Mon, 2 Oct 2006 21:41:06 -0700 Message-ID: <4521E9E1.6060706@eagercon.com> Date: Tue, 03 Oct 2006 04:41:00 -0000 From: Michael Eager User-Agent: Thunderbird 1.5.0.4 (X11/20060614) MIME-Version: 1.0 To: Michael Snyder CC: Daniel Jacobowitz , gdb@sources.redhat.com Subject: Re: Incorrect breakpoint address w no stabs References: <451FFF24.3010201@eagercon.com> <20061001181609.GA5065@nevyn.them.org> <4521CD1F.20609@eagercon.com> <1159845003.9761.35.camel@localhost.localdomain> In-Reply-To: <1159845003.9761.35.camel@localhost.localdomain> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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/msg00011.txt.bz2 Michael Snyder wrote: > On Mon, 2006-10-02 at 19:38 -0700, Michael Eager wrote: >> Quick follow-up. >> >> This problem doesn't happen if all object files use >> DWARF or no debugging. If the executable has mixed >> stabs/DWARF, then the problem shows up. > > What about if all object files use stabs? There's almost always assembly files (without stabs) which are linked after the rest of the code. Breakpoints at symbols in those files will be incorrect. -- Michael Eager eager@eagercon.com 1960 Park Blvd., Palo Alto, CA 94306 650-325-8077