From b69600940692d11967b2ae8ceabed2c6c2474c37 Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Mon, 30 Nov 1998 10:56:16 +0000 Subject: CARP: Cleanup FRAME_CHAIN_VALID. Replace all macro's with functions. --- gdb/doc/ChangeLog | 4 ++++ gdb/doc/gdbint.texinfo | 17 +++++++---------- 2 files changed, 11 insertions(+), 10 deletions(-) (limited to 'gdb/doc') diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog index ebc0663..5111e56 100644 --- a/gdb/doc/ChangeLog +++ b/gdb/doc/ChangeLog @@ -1,3 +1,7 @@ +Mon Nov 30 11:32:21 1998 Andrew Cagney + + * gdbint.texinfo (FRAME_CHAIN_VALID_ALTERNATE): + Sat Nov 28 13:45:53 1998 Andrew Cagney * gdbint.texinfo (INNER_THAN): Update, now takes parameters. diff --git a/gdb/doc/gdbint.texinfo b/gdb/doc/gdbint.texinfo index 1c5da1b..ff099dd 100644 --- a/gdb/doc/gdbint.texinfo +++ b/gdb/doc/gdbint.texinfo @@ -1261,19 +1261,16 @@ address and produce the nominal address of the caller's frame. Presently only defined for HP PA. @item FRAME_CHAIN_VALID(chain,thisframe) + Define this to be an expression that returns zero if the given frame is -an outermost frame, with no caller, and nonzero otherwise. The default -definition is nonzero if the chain pointer is nonzero and given frame's -PC is not inside the startup file (such as @file{crt0.o}). The -alternate default definition (which is used if -FRAME_CHAIN_VALID_ALTERNATE is defined) is nonzero if the chain pointer -is nonzero and the given frame's PC is not in @code{main()} or a known +an outermost frame, with no caller, and nonzero otherwise. Three common +definitions are available. @code{default_frame_chain_valid} (the +default) is nonzero if the chain pointer is nonzero and given frame's PC +is not inside the startup file (such as @file{crt0.o}). +@code{alternate_frame_chain_valid} is nonzero if the chain pointer is +nonzero and the given frame's PC is not in @code{main()} or a known entry point function (such as @code{_start()}). -@item FRAME_CHAIN_VALID_ALTERNATE -Define this in order to use the alternate default definition of -@code{FRAME_CHAIN_VALID}. - @item FRAME_FIND_SAVED_REGS stack.c -- cgit v1.1