This is the mail archive of the
gdb-testers@sourceware.org
mailing list for the GDB project.
[binutils-gdb] Remove usage of find_inferior in lynx_mourn
- From: sergiodj+buildbot at sergiodj dot net
- To: gdb-testers at sourceware dot org
- Date: Sat, 02 Dec 2017 21:33:20 -0500
- Subject: [binutils-gdb] Remove usage of find_inferior in lynx_mourn
- Authentication-results: sourceware.org; auth=none
*** TEST RESULTS FOR COMMIT c91bb56b06b52d45de7c8871a6d44ddae61ae977 ***
Author: Simon Marchi <simon.marchi@polymtl.ca>
Branch: master
Commit: c91bb56b06b52d45de7c8871a6d44ddae61ae977
Remove usage of find_inferior in lynx_mourn
Replace it with for_each_thread with pid filtering. We can remove
lynx_delete_thread_callback and pass remove_thread directly.
I can't build/test this change, but it should be obvious enough.
gdb/gdbserver/ChangeLog:
* lynx.low (lynx_delete_thread_callback): Remove.
(lynx_mourn): Use for_each_thread.