gdb/
authorJan Kratochvil <jan.kratochvil@redhat.com>
Sun, 28 Nov 2010 04:33:47 +0000 (04:33 +0000)
committerJan Kratochvil <jan.kratochvil@redhat.com>
Sun, 28 Nov 2010 04:33:47 +0000 (04:33 +0000)
commit8358c15c55744630cf69baf9acd134b8cc04e7c7
treee7a982a8c87c619e6ac8542864159b7bc5c30936
parent16c381f0589cead48e7e707c6584ec8629601aad
gdb/
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/
Fix step_resume_breakpoint unsaved during an infcall.
* gdb.base/step-resume-infcall.exp: New file.
* gdb.base/step-resume-infcall.c: New file.
gdb/ChangeLog
gdb/arm-linux-tdep.c
gdb/gdbthread.h
gdb/infrun.c
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/step-resume-infcall.c [new file with mode: 0644]
gdb/testsuite/gdb.base/step-resume-infcall.exp [new file with mode: 0644]
gdb/thread.c