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

Martin Galvan
2014-11-12T17:26:31Z

On Wed, Nov 12, 2014 at 2:20 PM, Pedro Alves <palves@redhat.com> wrote:
> 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

If everyone's ok with stack_frame_destroyed_p, I'll do the renaming
myself and send it as a separate patch.

--

Martín Galván

Software Engineer

Taller Technologies Argentina

San Lorenzo 47, 3rd Floor, Office 5

Córdoba, Argentina

Phone: 54 351 4217888 / +54 351 4218211