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: Yao Qi <qiyaoltc at gmail dot com>
- To: Pedro Alves <palves at redhat dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Mon, 04 Apr 2016 17:33:53 +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>
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.
--
Yao (éå)