diff options
author | Andrew Cagney <cagney@redhat.com> | 1998-11-30 10:56:16 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 1998-11-30 10:56:16 +0000 |
commit | b69600940692d11967b2ae8ceabed2c6c2474c37 (patch) | |
tree | d6b88df7123e7340631685d782fe3f87310793e7 /gdb/doc | |
parent | 8743fc885f33a57c09d1822b6fd5d6f6cc99ec9b (diff) | |
download | gdb-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')
-rw-r--r-- | gdb/doc/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/doc/gdbint.texinfo | 17 |
2 files changed, 11 insertions, 10 deletions
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 <cagney@chook> + + * gdbint.texinfo (FRAME_CHAIN_VALID_ALTERNATE): + Sat Nov 28 13:45:53 1998 Andrew Cagney <cagney@b1.cygnus.com> * 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 |