From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21016 invoked by alias); 24 Apr 2008 23:08:36 -0000 Received: (qmail 20996 invoked by uid 22791); 24 Apr 2008 23:08:35 -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; Thu, 24 Apr 2008 23:08:16 +0000 Received: from nan.false.org (localhost [127.0.0.1]) by nan.false.org (Postfix) with ESMTP id 65489983DB; Thu, 24 Apr 2008 23:08: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 50A389835A; Thu, 24 Apr 2008 23:08:14 +0000 (GMT) Received: from drow by caradoc.them.org with local (Exim 4.69) (envelope-from ) id 1JpAY1-0003DU-NX; Thu, 24 Apr 2008 19:08:13 -0400 Date: Fri, 25 Apr 2008 02:03:00 -0000 From: Daniel Jacobowitz To: Nick Roberts Cc: gdb-patches@sourceware.org Subject: Re: [PATCH] -stack-info-frame/-stack-list-frames Message-ID: <20080424230813.GA12341@caradoc.them.org> Mail-Followup-To: Nick Roberts , gdb-patches@sourceware.org References: <200804230933.04964.vladimir@codesourcery.com> <18446.63716.779534.2827@kahikatea.snap.net.nz> <200804231349.35190.vladimir@codesourcery.com> <18447.12269.389044.431822@kahikatea.snap.net.nz> <20080423125410.GA19773@caradoc.them.org> <18447.46315.956290.915310@kahikatea.snap.net.nz> <20080423222414.GA23569@caradoc.them.org> <18447.50396.538278.140944@kahikatea.snap.net.nz> <20080424021509.GA3497@caradoc.them.org> <18449.4568.206733.6318@kahikatea.snap.net.nz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <18449.4568.206733.6318@kahikatea.snap.net.nz> User-Agent: Mutt/1.5.17 (2007-12-11) X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2008-04/txt/msg00565.txt.bz2 On Fri, Apr 25, 2008 at 11:03:52AM +1200, Nick Roberts wrote: > Maybe Gdb could somehow identify the cases where the address isn't useful. If there are known cases where the address isn't useful, I (like Vladimir) do not understand why we should export it. > I don't think the number need be that unbounded, it's not needed for each > frame, only those in which a varobj is created. But it appears that the > linked list of frames gets destroyed and recreated each time execution > occurs, in which case any id information is also lost (I was looking at > using an extra member in struct frame_info). Right, that's the whole problem. It has to last as long as the frame_id, not the frame_info. -- Daniel Jacobowitz CodeSourcery