aboutsummaryrefslogtreecommitdiff
path: root/gdb/mips-tdep.c
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@polymtl.ca>2017-01-23 15:31:40 -0500
committerSimon Marchi <simon.marchi@ericsson.com>2017-01-23 15:31:40 -0500
commit60685cd0b99c575a32c3d004b4af568dd0309bcb (patch)
tree8907aebf3841495e8fcb6bf276ab4fe1ee9212c6 /gdb/mips-tdep.c
parent2d0ca824112f269a883cd04d344614ccab3baaf4 (diff)
downloadbinutils-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