Re: [PING][RFC][PATCH v2] Python API: add gdb.stack_may_be_invalid

Pedro Alves
2014-11-12T17:20:42Z

On 11/12/2014 05:06 PM, Doug Evans wrote:
>
> Plus the name "stack is destroyed" is confusing.
> This function is just a wrapper around gdbarch_in_function_epilogue_p
> so I'd just call it in_function_epilogue_p (or
> gdbpy_in_function_epilogue_p or some such).

Can we agree to rename the gdbarch hook instead?
The function does _not_ return whether the PC is in the epilogue.

https://sourceware.org/ml/gdb-patches/2014-10/msg00590.html

Thanks,
Pedro Alves