diff options
author | Luis Machado <luis.machado@linaro.org> | 2019-12-06 18:12:37 -0300 |
---|---|---|
committer | Luis Machado <luis.machado@linaro.org> | 2020-01-14 11:17:26 -0300 |
commit | 7da6a5b938b426379f61e56e259a925bedfe242b (patch) | |
tree | c4bce214765c16583017f6be5b7faf44f7979380 /gdb/inf-ptrace.c | |
parent | 7a6bf3becbe3e0ce47d2681edcfe7adcb67fe4e2 (diff) | |
download | fsf-binutils-gdb-7da6a5b938b426379f61e56e259a925bedfe242b.zip fsf-binutils-gdb-7da6a5b938b426379f61e56e259a925bedfe242b.tar.gz fsf-binutils-gdb-7da6a5b938b426379f61e56e259a925bedfe242b.tar.bz2 |
Fix/Update misc comments
While doing some investigation of mine, i noticed a few typos,
inaccuracies and missing information.
I went ahead and updated/improved those.
gdb/ChangeLog:
2020-01-14 Luis Machado <luis.machado@linaro.org>
* inf-ptrace.c (inf_ptrace_target::resume): Update comments.
* infrun.c (resume_1): Likewise.
(handle_inferior_event): Remove stale comment.
* linux-nat.c (linux_nat_target::resume): Update comments.
(save_stop_reason): Likewise.
(linux_nat_filter_event): Likewise.
* linux-nat.h (struct lwp_info) <stop_pc>, <stop_reason>: Likewise.
Diffstat (limited to 'gdb/inf-ptrace.c')
-rw-r--r-- | gdb/inf-ptrace.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gdb/inf-ptrace.c b/gdb/inf-ptrace.c index ecd82ad..db17a76 100644 --- a/gdb/inf-ptrace.c +++ b/gdb/inf-ptrace.c @@ -354,10 +354,10 @@ inf_ptrace_target::resume (ptid_t ptid, int step, enum gdb_signal signal) if (step) { /* If this system does not support PT_STEP, a higher level - function will have called single_step() to transmute the step - request into a continue request (by setting breakpoints on - all possible successor instructions), so we don't have to - worry about that here. */ + function will have called the appropriate functions to transmute the + step request into a continue request (by setting breakpoints on + all possible successor instructions), so we don't have to + worry about that here. */ request = PT_STEP; } |