From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31382 invoked by alias); 23 May 2007 00:17:22 -0000 Received: (qmail 31357 invoked by uid 22791); 23 May 2007 00:17:13 -0000 X-Spam-Check-By: sourceware.org Received: from return.false.org (HELO return.false.org) (66.207.162.98) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 23 May 2007 00:17:10 +0000 Received: from return.false.org (localhost [127.0.0.1]) by return.false.org (Postfix) with ESMTP id 45D084B267; Tue, 22 May 2007 19:17:05 -0500 (CDT) Received: from caradoc.them.org (dsl093-172-095.pit1.dsl.speakeasy.net [66.93.172.95]) by return.false.org (Postfix) with ESMTP id 2C1994B262; Tue, 22 May 2007 19:17:02 -0500 (CDT) Received: from drow by caradoc.them.org with local (Exim 4.67) (envelope-from ) id 1HqeXF-0008NH-7o; Tue, 22 May 2007 20:17:01 -0400 Date: Wed, 23 May 2007 00:17:00 -0000 From: Daniel Jacobowitz To: Jim Blandy Cc: Maxim Grigoriev , gdb@sourceware.org, Marc Gauthier , Pete MacLiesh , Ross Morley Subject: Re: Understanding GDB frames Message-ID: <20070523001701.GA32173@caradoc.them.org> Mail-Followup-To: Jim Blandy , Maxim Grigoriev , gdb@sourceware.org, Marc Gauthier , Pete MacLiesh , Ross Morley References: <46521C04.7040405@hq.tensilica.com> <465341B8.9060208@hq.tensilica.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.15 (2007-04-09) X-IsSubscribed: yes 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: 2007-05/txt/msg00127.txt.bz2 On Tue, May 22, 2007 at 05:05:27PM -0700, Jim Blandy wrote: > Perhaps the best approach is to use both the return address and the > entry point in the frame ID. If either have changed, it's certainly a > new frame. I don't think this is worth adding complexity for, honestly. Sure, it will catch { foo(); foo(); }, but it won't catch for (i = 0; i < 10; i++) foo ();. -- Daniel Jacobowitz CodeSourcery