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/linux-nat.h | |
parent | 7a6bf3becbe3e0ce47d2681edcfe7adcb67fe4e2 (diff) | |
download | gdb-7da6a5b938b426379f61e56e259a925bedfe242b.zip gdb-7da6a5b938b426379f61e56e259a925bedfe242b.tar.gz 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/linux-nat.h')
-rw-r--r-- | gdb/linux-nat.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/linux-nat.h b/gdb/linux-nat.h index e02611f..f800e43 100644 --- a/gdb/linux-nat.h +++ b/gdb/linux-nat.h @@ -229,7 +229,7 @@ struct lwp_info /* When 'stopped' is set, this is where the lwp last stopped, with decr_pc_after_break already accounted for. If the LWP is - running, and stepping, this is the address at which the lwp was + running and stepping, this is the address at which the lwp was resumed (that is, it's the previous stop PC). If the LWP is running and not stepping, this is 0. */ CORE_ADDR stop_pc; @@ -238,7 +238,7 @@ struct lwp_info int step; /* The reason the LWP last stopped, if we need to track it - (breakpoint, watchpoint, etc.) */ + (breakpoint, watchpoint, etc.). */ enum target_stop_reason stop_reason; /* On architectures where it is possible to know the data address of |