From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19247 invoked by alias); 24 Jul 2007 17:17:19 -0000 Received: (qmail 19239 invoked by uid 22791); 24 Jul 2007 17:17:19 -0000 X-Spam-Check-By: sourceware.org Received: from NaN.false.org (HELO nan.false.org) (208.75.86.248) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 24 Jul 2007 17:17:14 +0000 Received: from nan.false.org (localhost [127.0.0.1]) by nan.false.org (Postfix) with ESMTP id 45F7498301; Tue, 24 Jul 2007 17:17:14 +0000 (GMT) Received: from caradoc.them.org (22.svnf5.xdsl.nauticom.net [209.195.183.55]) by nan.false.org (Postfix) with ESMTP id BAF0F982BA; Tue, 24 Jul 2007 17:17:13 +0000 (GMT) Received: from drow by caradoc.them.org with local (Exim 4.67) (envelope-from ) id 1IDO0V-0004Cp-UX; Tue, 24 Jul 2007 13:17:11 -0400 Date: Tue, 24 Jul 2007 17:36:00 -0000 From: Daniel Jacobowitz To: Michael Eager Cc: gdb@sources.redhat.com Subject: Re: frame cache Message-ID: <20070724171711.GB15843@caradoc.them.org> Mail-Followup-To: Michael Eager , gdb@sources.redhat.com References: <46A63051.7060208@eagercon.com> <46A63209.4010405@eagercon.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <46A63209.4010405@eagercon.com> 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-07/txt/msg00173.txt.bz2 On Tue, Jul 24, 2007 at 10:08:25AM -0700, Michael Eager wrote: > And one more question: > > 3) In _skip_prologue(), an dummy _frame_cache is > created to be passed to _analyze_prologue(). This > dummy cache entry is discarded. Why not retain this info? I think the answers to your other two questions should clarify this. We don't have anywhere to keep it, and the information is not quite the same because it depends how far into the function we're allowed to analyze (the PC "limit"). Also, many targets don't do it this way. -- Daniel Jacobowitz CodeSourcery