diff options
author | Simon Marchi <simon.marchi@polymtl.ca> | 2017-12-02 20:36:32 -0500 |
---|---|---|
committer | Simon Marchi <simon.marchi@polymtl.ca> | 2017-12-02 20:36:32 -0500 |
commit | 634a3254c8fe1728c0202289afe594928094d860 (patch) | |
tree | ac333b130739dfeae092fcea823b80d0784513b3 /libiberty/setenv.c | |
parent | 6d83e819df0c71868d04db46c60ff0ecf8cf1914 (diff) | |
download | gdb-634a3254c8fe1728c0202289afe594928094d860.zip gdb-634a3254c8fe1728c0202289afe594928094d860.tar.gz gdb-634a3254c8fe1728c0202289afe594928094d860.tar.bz2 |
Remove usage of find_inferior in regcache_invalidate_pid
Replace with for_each_thread with pid filtering.
regcache_invalidate_one is not longer needed, as it was only used to
filter the pid. We can call regcache_invalidate_thread directly.
gdb/gdbserver/ChangeLog:
* regcache.c (regcache_invalidate_one): Remove.
(regcache_invalidate_pid): use for_each_thread.
Diffstat (limited to 'libiberty/setenv.c')
0 files changed, 0 insertions, 0 deletions