This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] Fix PR remote/19840: gdb crashes on reverse-stepi
- From: Pedro Alves <palves at redhat dot com>
- To: Yao Qi <qiyaoltc at gmail dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Wed, 13 Apr 2016 14:42:09 +0100
- Subject: Re: [PATCH] Fix PR remote/19840: gdb crashes on reverse-stepi
- Authentication-results: sourceware.org; auth=none
- References: <1459339494-17921-1-git-send-email-palves at redhat dot com> <86mvp9nxji dot fsf at gmail dot com>
On 04/04/2016 05:33 PM, Yao Qi wrote:
> Pedro Alves <palves@redhat.com> writes:
>
>> gdb/ChangeLog:
>> 2016-03-30 Pedro Alves <palves@redhat.com>
>>
>> PR remote/19840
>> * remote.c (struct remote_state) <last_resume_exec_dir>: New
>> field.
>> (new_remote_state): Default last_resume_exec_dir to EXEC_FORWARD.
>> (remote_open_1): Reset last_resume_exec_dir to EXEC_FORWARD.
>> (remote_resume): Store the last execution direction.
>> (remote_execution_direction): New function.
>> (init_remote_ops): Install it as to_execution_direction target_ops
>> method.
>
> Patch is good to me.
Thanks, I've now pushed this to master and 7.11 branch.
--
Pedro Alves