gdb/
authorJan Kratochvil <jan.kratochvil@redhat.com>
Tue, 2 Nov 2010 01:37:32 +0000 (01:37 +0000)
committerJan Kratochvil <jan.kratochvil@redhat.com>
Tue, 2 Nov 2010 01:37:32 +0000 (01:37 +0000)
commita289b8f64e80d14000a8c35d51fe9d78d33bc83d
tree0b4abe18b22ecbdd38e24a59ccbb107b8abe58bb
parent6d0cd39eb22c4ff76d1c360fdbef4b7506f95327
gdb/
Revert:
2010-10-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
    Pedro Alves  <pedro@codesourcery.com>
* gdbthread.h (currently_stepping): New declaration.
* infrun.c (currently_stepping): Remove the forward declaration.
(currently_stepping): Make it global.
* linux-nat.c (resume_callback) <lp->stopped && lp->status == 0>: New
variables tp and step, initialized them.  Pass STEP to to_resume.
Print also possibly "PTRACE_SINGLESTEP" if STEP.  Initialize LP->STEP.
* remote.c (currently_stepping_callback): New.
(remote_vcont_resume)
<ptid_equal (ptid, minus_one_ptid) || ptid_is_pid (ptid)>:
New variable tp.  Call currently_stepping_callback and step such
thread.

gdb/testsuite/
Revert:
2010-10-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
* gdb.threads/sigstep-threads.exp: New file.
* gdb.threads/sigstep-threads.c: New file.
gdb/ChangeLog
gdb/gdbthread.h
gdb/infrun.c
gdb/linux-nat.c
gdb/remote.c
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.threads/sigstep-threads.c [deleted file]
gdb/testsuite/gdb.threads/sigstep-threads.exp [deleted file]