diff options
author | Wataru Ashihara <wsh@iij.ad.jp> | 2025-03-19 14:09:19 +0900 |
---|---|---|
committer | Simon Marchi <simon.marchi@polymtl.ca> | 2025-03-19 10:19:12 -0400 |
commit | 6a77c6575ff6ab380d962ff970bb031f7df7047d (patch) | |
tree | 6556258a44247a7ca8993a7d0da2460a89ef0283 | |
parent | 82455bdab80f9a4d4f94a6e8590a1bdc58c4010e (diff) | |
download | binutils-6a77c6575ff6ab380d962ff970bb031f7df7047d.zip binutils-6a77c6575ff6ab380d962ff970bb031f7df7047d.tar.gz binutils-6a77c6575ff6ab380d962ff970bb031f7df7047d.tar.bz2 |
gdbserver: fix build on NetBSD
The function remove_thread() was changed to a method in 2500e7d7d (gdbserver:
make remove_thread a method of process_info).
Signed-off-by: Wataru Ashihara <wsh@iij.ad.jp>
Change-Id: I4b2d8a6f84b5329b8d450b268fa9453fe424914e
-rw-r--r-- | gdbserver/netbsd-low.cc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gdbserver/netbsd-low.cc b/gdbserver/netbsd-low.cc index 9e7314b..0c75f4b 100644 --- a/gdbserver/netbsd-low.cc +++ b/gdbserver/netbsd-low.cc @@ -453,7 +453,10 @@ netbsd_process_target::detach (process_info *process) void netbsd_process_target::mourn (struct process_info *proc) { - proc->for_each_thread (remove_thread); + proc->for_each_thread ([proc] (thread_info *thread) + { + proc->remove_thread (thread); + }); remove_process (proc); } |