mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-11-16 12:34:43 +00:00
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
This commit is contained in:
committed by
Simon Marchi
parent
82455bdab8
commit
6a77c6575f
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user