diff options
author | Pedro Alves <pedro@palves.net> | 2021-11-12 20:50:29 +0000 |
---|---|---|
committer | Pedro Alves <pedro@palves.net> | 2023-03-27 19:02:04 +0100 |
commit | 57573e54afb9f7ed957eec43dfd2830f2384c970 (patch) | |
tree | 86ed9f239c76c3a714a5bac49bb2315263eed856 /gdb/source.h | |
parent | 58c010877e77ad9dd4e14272f9500d40b75e7429 (diff) | |
download | gdb-57573e54afb9f7ed957eec43dfd2830f2384c970.zip gdb-57573e54afb9f7ed957eec43dfd2830f2384c970.tar.gz gdb-57573e54afb9f7ed957eec43dfd2830f2384c970.tar.bz2 |
linux-nat: introduce pending_status_str
I noticed that some debug log output printing an lwp's pending status
wasn't considering lp->waitstatus. This fixes it, by introducing a
new pending_status_str function.
Also fix the comment in gdb/linux-nat.h describing
lwp_info::waitstatus and details the description of lwp_info::status
while at it.
Change-Id: I66e5c7a363d30a925b093b195d72925ce5b6b980
Approved-By: Andrew Burgess <aburgess@redhat.com>
Diffstat (limited to 'gdb/source.h')
0 files changed, 0 insertions, 0 deletions