This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: what's the use of sentinel frame?


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]