diff options
author | Kamil Rytarowski <n54@gmx.com> | 2020-09-02 19:13:19 +0200 |
---|---|---|
committer | Kamil Rytarowski <n54@gmx.com> | 2020-09-10 15:37:52 +0200 |
commit | c489f8c6e61e0b60a4108e10be3681885b253864 (patch) | |
tree | 169e55e7e0732430f0eaa5097ece3016d43aca35 /gdb/Makefile.in | |
parent | 330662f68490e09efad94fba603f09e1746941b3 (diff) | |
download | gdb-c489f8c6e61e0b60a4108e10be3681885b253864.zip gdb-c489f8c6e61e0b60a4108e10be3681885b253864.tar.gz gdb-c489f8c6e61e0b60a4108e10be3681885b253864.tar.bz2 |
Add gdb/nat common functions for listing threads
Add netbsd_nat::netbsd_thread_lister a generic thread lister, used
internally in netbsd-nat.c, copied from gdb/nbsd-nat.c.
Add public extern functions for listing threads:
* netbsd_nat::thread_alive
* netbsd_nat::thread_name
* netbsd_nat::for_each_thread
gdb/ChangeLog:
* netbsd-nat.h: Include "gdbsupport/function-view.h".
* (netbsd_nat::thread_alive, netbsd_nat::thread_name)
(netbsd_nat::for_each_thread): Add.
* netbsd-nat.c: Include "gdbsupport/common-defs.h" and
"gdbsupport/common-debug.h".
* (netbsd_nat::netbsd_thread_lister)
(netbsd_nat::thread_alive, netbsd_nat::thread_name)
(netbsd_nat::for_each_thread): Add.
Diffstat (limited to 'gdb/Makefile.in')
0 files changed, 0 insertions, 0 deletions