This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Fix PR remote/19840: gdb crashes on reverse-stepi


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 (éå)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]