Re: [PATCH 4/8] gdb/s390: Fill gen_return_address hook.

Eli Zaretskii
2016-03-11T18:07:22Z

> From: Andreas Arnez <arnez@linux.vnet.ibm.com>
> Cc: Eli Zaretskii <eliz@gnu.org>
> Cc: Marcin KoÅ›cielnicki <koriakin@0x04.net>, gdb-patches@sourceware.org
> Date: Fri, 11 Mar 2016 17:45:16 +0100
>
> diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo
> index 4ec0ec1..a14fe19 100644
> --- a/gdb/doc/gdb.texinfo
> +++ b/gdb/doc/gdb.texinfo
> @@ -12863,7 +12863,9 @@ Collect all local variables.
>
> @item $_ret
> Collect the return address. This is helpful if you want to see more
> -of a backtrace.
> +of a backtrace. Note that the return address can not always be
> +determined reliably, and a wrong address may be collected instead.
> +The reliability is usually higher for tracepoints at function entry.

LGTM, thanks.