From 9e5abb068c86f04dcdd5ca82068caad4785c3a85 Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Tue, 6 Nov 2001 11:01:22 +0000 Subject: [PATCH] * gdb.texinfo (gdbarch_in_function_epilogue_p): Add documentation. --- gdb/doc/ChangeLog | 4 ++++ gdb/doc/gdbint.texinfo | 7 +++++++ 2 files changed, 11 insertions(+) diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog index e7c127959ad..8a5901a8a73 100644 --- a/gdb/doc/ChangeLog +++ b/gdb/doc/ChangeLog @@ -1,3 +1,7 @@ +2001-11-06 Corinna Vinschen + + * gdb.texinfo (gdbarch_in_function_epilogue_p): Add documentation. + 2001-11-05 Michael Snyder * gdb.texinfo (info functions): Document use of backslash to diff --git a/gdb/doc/gdbint.texinfo b/gdb/doc/gdbint.texinfo index 3e900c5b252..a99546d40da 100644 --- a/gdb/doc/gdbint.texinfo +++ b/gdb/doc/gdbint.texinfo @@ -3104,6 +3104,13 @@ stack top) stack address @var{rhs}. Define this as @code{lhs < rhs} if the target's stack grows downward in memory, or @code{lhs > rsh} if the stack grows upward. +@item gdbarch_in_function_epilogue_p (@var{gdbarch}, @var{pc}) +@findex gdbarch_in_function_epilogue_p +Returns non-zero if the given @var{pc} is in the epilogue of a function. +The epilogue of a function is defined as the part of a function where +the stack frame of the function already has been destroyed up to the +final `return from function call' instruction. + @item IN_SIGTRAMP (@var{pc}, @var{name}) @findex IN_SIGTRAMP Define this to return non-zero if the given @var{pc} and/or @var{name} -- 2.30.2