diff options
author | Simon Marchi <simon.marchi@ericsson.com> | 2017-10-27 23:44:12 -0400 |
---|---|---|
committer | Simon Marchi <simon.marchi@ericsson.com> | 2017-10-27 23:44:12 -0400 |
commit | bac608e7e11fa83a648c0980883f810ebd1874b1 (patch) | |
tree | 732e1c31495b3b1cf2bad1de95434e403da59ced /bfd/elf64-ppc.c | |
parent | eaddb425928bb4ae21c0c6644b4bedf3d16cb6fa (diff) | |
download | gdb-bac608e7e11fa83a648c0980883f810ebd1874b1.zip gdb-bac608e7e11fa83a648c0980883f810ebd1874b1.tar.gz gdb-bac608e7e11fa83a648c0980883f810ebd1874b1.tar.bz2 |
Remove find_inferior usage for thread_search
Replace it with for_each_thread. While at it, we can inline the
callback code. One little change is that I am using the
prev_general_thread variable instead of current_gen_ptid, since they
should have the same value.
gdb/gdbserver/ChangeLog:
* target.c (struct thread_search): Remove.
(thread_search_callback): Remove.
(prepare_to_access_memory): Use for_each_thread instead of
find_inferior. Inline code from thread_search_callback.
Diffstat (limited to 'bfd/elf64-ppc.c')
0 files changed, 0 insertions, 0 deletions