binutils-gdb/gdb/python
Simon Marchi 60685cd0b9 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.
2017-01-23 15:31:40 -05:00
..
lib/gdb
py-arch.c Use gdbpy_ref in archpy_disassemble 2017-01-10 19:13:59 -07:00
py-auto-load.c
py-block.c
py-bpevent.c
py-breakpoint.c Use gdbpy_ref in gdbpy_breakpoint_cond_says_stop 2017-01-10 19:14:00 -07:00
py-cmd.c Use gdbpy_ref in py-cmd.c 2017-01-10 19:14:01 -07:00
py-continueevent.c
py-event.c
py-event.h
py-events.h
py-evtregistry.c
py-evts.c
py-exitedevent.c
py-finishbreakpoint.c Use gdbpy_ref in bpfinishpy_out_of_scope 2017-01-10 19:14:01 -07:00
py-frame.c
py-framefilter.c Use gdbpy_ref rather than make_cleanup_py_decref 2017-01-10 19:14:07 -07:00
py-function.c Fix Py_DECREF being executed without holding the GIL 2017-01-20 21:06:51 -05:00
py-gdb-readline.c Fix python-interactive with Python 3.6 2017-01-20 20:39:08 -05:00
py-inferior.c Minor simplification of (Python) find_thread_object 2017-01-23 15:31:40 -05:00
py-infevents.c
py-infthread.c
py-lazy-string.c
py-linetable.c
py-newobjfileevent.c
py-objfile.c Use class to manage BFD reference counts 2017-01-10 19:14:10 -07:00
py-param.c Use gdbpy_ref in py-param.c 2017-01-10 19:14:04 -07:00
py-prettyprint.c
py-progspace.c
py-ref.h Add gdb_ref_ptr.h 2017-01-10 19:14:09 -07:00
py-signalevent.c
py-stopevent.c
py-stopevent.h
py-symbol.c
py-symtab.c
py-threadevent.c
py-type.c Add constructor and destructor to demangle_parse_info 2017-01-10 19:14:15 -07:00
py-unwind.c Use gdbpy_ref in pyuw_object_attribute_to_pointer 2017-01-10 19:14:05 -07:00
py-utils.c Remove make_cleanup_py_decref and make_cleanup_py_xdecref 2017-01-10 19:14:08 -07:00
py-value.c Add scoped_value_mark 2017-01-10 19:14:12 -07:00
py-varobj.c
py-xmethods.c Fix Py_DECREF being executed without holding the GIL 2017-01-20 21:06:51 -05:00
python-config.py
python-internal.h Fix python-interactive with Python 3.6 2017-01-20 20:39:08 -05:00
python.c Remove cleanups from execute_gdb_command 2017-01-10 19:14:14 -07:00
python.h