OSDN Git Service

gdb/
authorjkratoch <jkratoch>
Tue, 2 Nov 2010 01:37:30 +0000 (01:37 +0000)
committerjkratoch <jkratoch>
Tue, 2 Nov 2010 01:37:30 +0000 (01:37 +0000)
commitc7c73bc67ddefc51346268e03e7e5060722e67c8
tree45dda45654d98e577409ddad3be13cb2c23c1143
parente3e99ed38edcf9607bd93808490c45fcf4d8c449
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]