From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28214 invoked by alias); 1 Nov 2005 13:53:59 -0000 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 Received: (qmail 28196 invoked by uid 22791); 1 Nov 2005 13:53:56 -0000 Received: from nevyn.them.org (HELO nevyn.them.org) (66.93.172.17) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Tue, 01 Nov 2005 13:53:56 +0000 Received: from drow by nevyn.them.org with local (Exim 4.54) id 1EWwa3-0006gJ-8b; Tue, 01 Nov 2005 08:53:39 -0500 Date: Tue, 01 Nov 2005 13:53:00 -0000 From: Daniel Jacobowitz To: liuyang Cc: "gdb@sources.redhat.com" Subject: Re: what's the use of sentinel frame? Message-ID: <20051101135339.GC25595@nevyn.them.org> Mail-Followup-To: liuyang , "gdb@sources.redhat.com" Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.8i X-SW-Source: 2005-11/txt/msg00009.txt.bz2 On Tue, Nov 01, 2005 at 04:02:56PM +0800, liuyang wrote: > Hi,all > I read the source code of gdb 6.3 these days.I find that it is > really a hard work.Now I am working with Frame.c. I don't understand > the use of 'sentinel frame'.It is not referred in gdbint.Can you > explain it to me ? The sentinel frame exists so that, given any frame, there is always a next frame; you never run off the end of the list. All it does is return the real registers. -- Daniel Jacobowitz CodeSourcery, LLC