public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
* Re: what's the use of sentinel frame?
@ 2005-11-01 13:53 Daniel Jacobowitz
  0 siblings, 0 replies; 2+ messages in thread
From: Daniel Jacobowitz @ 2005-11-01 13:53 UTC (permalink / raw)
  To: liuyang; +Cc: gdb

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* what's the use of sentinel frame?
@ 2005-11-01  8:18 liuyang
  0 siblings, 0 replies; 2+ messages in thread
From: liuyang @ 2005-11-01  8:18 UTC (permalink / raw)
  To: gdb

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 ?

regards
thanks
		
        liuyang
        mysea000@163.com
          2005-11-01



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-11-01 13:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-11-01 13:53 what's the use of sentinel frame? Daniel Jacobowitz
  -- strict thread matches above, loose matches on Subject: below --
2005-11-01  8:18 liuyang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).