This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch 2/2] Fix stale tp->step_resume_breakpoint
On Fri, 26 Nov 2010 05:48:01 +0100, Jan Kratochvil wrote:
> gdb/
> 2010-11-26 Jan Kratochvil <jan.kratochvil@redhat.com>
>
> Fix step_resume_breakpoint unsaved during an infcall.
> * gdbthread.h (struct thread_control_state): Move here field
> step_resume_breakpoint ...
> (struct thread_info): ... from here.
> * infrun.c (save_infcall_control_state): Reset
> control.step_resume_breakpoint to NULL.
> (restore_infcall_control_state, discard_infcall_control_state): Delete
> control.step_resume_breakpoint.
> * arm-linux-tdep.c, infrun.c, thread.c: Update all the references to
> the moved field.
>
> gdb/testsuite/
> 2010-11-26 Jan Kratochvil <jan.kratochvil@redhat.com>
>
> * gdb.base/step-resume-infcall.exp: New file.
> * gdb.base/step-resume-infcall.c: New file.
Checked in:
http://sourceware.org/ml/gdb-cvs/2010-11/msg00153.html
Thanks,
Jan