From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19887 invoked by alias); 26 Jan 2006 16:43:19 -0000 Received: (qmail 19878 invoked by uid 22791); 26 Jan 2006 16:43:19 -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; Thu, 26 Jan 2006 16:43:18 +0000 Received: from drow by nevyn.them.org with local (Exim 4.54) id 1F2ADL-00023H-Gb; Thu, 26 Jan 2006 11:43:15 -0500 Date: Thu, 26 Jan 2006 16:43:00 -0000 From: Daniel Jacobowitz To: NZG Cc: gdb-patches@sourceware.org, Jim Blandy Subject: Re: gdb code review, pointer madness Message-ID: <20060126164315.GA7821@nevyn.them.org> Mail-Followup-To: NZG , gdb-patches@sourceware.org, Jim Blandy References: <200601231438.26040.ngustavson@emacinc.com> <200601241557.10320.ngustavson@emacinc.com> <8f2776cb0601241600g4fd54578w10e8f1000b044e26@mail.gmail.com> <200601261017.41108.ngustavson@emacinc.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200601261017.41108.ngustavson@emacinc.com> User-Agent: Mutt/1.5.8i X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2006-01/txt/msg00427.txt.bz2 On Thu, Jan 26, 2006 at 10:17:41AM -0600, NZG wrote: > So, if frame 0 is actually the lowest level frame, > would it be correct to say that > > for frame->level=0 > frame->this_id->value->stack_addr =0 > > for all time? > Or is this an overgeneralization. You should try GDB on some other target to see how this works. Frame 0 is the innermost (i.e. current) frame. It unwinds to frame #1. -- Daniel Jacobowitz CodeSourcery