aboutsummaryrefslogtreecommitdiff
path: root/gdb/doc/gdbint.texinfo
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>1998-11-30 10:56:16 +0000
committerAndrew Cagney <cagney@redhat.com>1998-11-30 10:56:16 +0000
commitb69600940692d11967b2ae8ceabed2c6c2474c37 (patch)
treed6b88df7123e7340631685d782fe3f87310793e7 /gdb/doc/gdbint.texinfo
parent8743fc885f33a57c09d1822b6fd5d6f6cc99ec9b (diff)
downloadgdb-b69600940692d11967b2ae8ceabed2c6c2474c37.zip
gdb-b69600940692d11967b2ae8ceabed2c6c2474c37.tar.gz
gdb-b69600940692d11967b2ae8ceabed2c6c2474c37.tar.bz2
CARP:
Cleanup FRAME_CHAIN_VALID. Replace all macro's with functions.
Diffstat (limited to 'gdb/doc/gdbint.texinfo')
-rw-r--r--gdb/doc/gdbint.texinfo17
1 files changed, 7 insertions, 10 deletions
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