diff options
author | Jan Kratochvil <jan.kratochvil@redhat.com> | 2010-11-02 01:37:30 +0000 |
---|---|---|
committer | Jan Kratochvil <jan.kratochvil@redhat.com> | 2010-11-02 01:37:30 +0000 |
commit | 8405572c5488d38c1b02fc159432eaaf7ff07eb3 (patch) | |
tree | 983ac3a974c6f59799ae8e42101f9f13e2153134 /gdb/gdbthread.h | |
parent | 8d8114061768f9657f0869d2954f63a5a48c7382 (diff) | |
download | gdb-8405572c5488d38c1b02fc159432eaaf7ff07eb3.tar.gz |
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.
Diffstat (limited to 'gdb/gdbthread.h')
-rw-r--r-- | gdb/gdbthread.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/gdb/gdbthread.h b/gdb/gdbthread.h index e89e88d346a..cd24eaf2fb0 100644 --- a/gdb/gdbthread.h +++ b/gdb/gdbthread.h @@ -352,6 +352,4 @@ extern struct thread_info* inferior_thread (void); extern void update_thread_list (void); -extern int currently_stepping (struct thread_info *tp); - #endif /* GDBTHREAD_H */ |