gdb/
authorJan Kratochvil <jan.kratochvil@redhat.com>
Sun, 17 Oct 2010 18:24:47 +0000 (18:24 +0000)
committerJan Kratochvil <jan.kratochvil@redhat.com>
Sun, 17 Oct 2010 18:24:47 +0000 (18:24 +0000)
commit8aeb23f3648c6ef10c5715e30f04563d1cc28709
tree09ebcca5a6758a48adbce553314e6b2fc71befe3
parentc1e56572463d2126e46eda8ce8d4bce221667f98
gdb/
* 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/
* 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 [new file with mode: 0644]
gdb/testsuite/gdb.threads/sigstep-threads.exp [new file with mode: 0644]