diff options
author | Simon Marchi <simon.marchi@polymtl.ca> | 2017-01-23 15:31:40 -0500 |
---|---|---|
committer | Simon Marchi <simon.marchi@ericsson.com> | 2017-01-23 15:31:40 -0500 |
commit | 60685cd0b99c575a32c3d004b4af568dd0309bcb (patch) | |
tree | 8907aebf3841495e8fcb6bf276ab4fe1ee9212c6 /gdb/mips-tdep.c | |
parent | 2d0ca824112f269a883cd04d344614ccab3baaf4 (diff) | |
download | binutils-60685cd0b99c575a32c3d004b4af568dd0309bcb.zip binutils-60685cd0b99c575a32c3d004b4af568dd0309bcb.tar.gz binutils-60685cd0b99c575a32c3d004b4af568dd0309bcb.tar.bz2 |
Minor simplification of (Python) find_thread_object
Since the reference to the Inferior Python object is managed by
gdbpy_ref (RAII), we can return directly from the loop. It's just a
leftover from the cleanups era.
gdb/ChangeLog:
* python/py-inferior.c (find_thread_object): Return directly
from the loop. Remove "found" variable.
Diffstat (limited to 'gdb/mips-tdep.c')
0 files changed, 0 insertions, 0 deletions