aboutsummaryrefslogtreecommitdiff
path: root/gdb/infrun.c
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2015-08-07 17:23:59 +0100
committerPedro Alves <palves@redhat.com>2015-08-07 17:23:59 +0100
commit8b0615634896718c982d367a01ec61120084d3fb (patch)
tree8c8f8b127f11fbd7025539e53e15cd150a5e496f /gdb/infrun.c
parent1afd5965eda86caed3af7f23fd1f8802831360b6 (diff)
downloadgdb-8b0615634896718c982d367a01ec61120084d3fb.zip
gdb-8b0615634896718c982d367a01ec61120084d3fb.tar.gz
gdb-8b0615634896718c982d367a01ec61120084d3fb.tar.bz2
Add comments to currently_stepping and target_resume
Clarify that currently_stepping works at a higher level than target_resume. gdb/ChangeLog: 2015-08-07 Pedro Alves <palves@redhat.com> * infrun.c (currently_stepping): Extend intro comment. * target.h (target_resume): Extend intro comment.
Diffstat (limited to 'gdb/infrun.c')
-rw-r--r--gdb/infrun.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/gdb/infrun.c b/gdb/infrun.c
index 455fc2d..32eeca8 100644
--- a/gdb/infrun.c
+++ b/gdb/infrun.c
@@ -5854,7 +5854,9 @@ switch_back_to_stepped_thread (struct execution_control_state *ecs)
return 0;
}
-/* Is thread TP in the middle of single-stepping? */
+/* Is thread TP in the middle of (software or hardware)
+ single-stepping? (Note the result of this function must never be
+ passed directly as target_resume's STEP parameter.) */
static int
currently_stepping (struct thread_info *tp)