diff options
Diffstat (limited to 'gdb/python/py-inferior.c')
-rw-r--r-- | gdb/python/py-inferior.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/python/py-inferior.c b/gdb/python/py-inferior.c index 7204356ac73..102a4270af3 100644 --- a/gdb/python/py-inferior.c +++ b/gdb/python/py-inferior.c @@ -756,7 +756,7 @@ infpy_is_valid (PyObject *self, PyObject *args) } /* Implementation of gdb.Inferior.thread_from_handle (self, handle) - -> gdb.InferiorThread. */ + -> gdb.InferiorThread. */ static PyObject * infpy_thread_from_thread_handle (PyObject *self, PyObject *args, PyObject *kw) @@ -801,7 +801,7 @@ infpy_thread_from_thread_handle (PyObject *self, PyObject *args, PyObject *kw) struct thread_info *thread_info; thread_info = find_thread_by_handle - (gdb::array_view<const gdb_byte> (bytes, bytes_len), + (gdb::array_view<const gdb_byte> (bytes, bytes_len), inf_obj->inferior); if (thread_info != NULL) return thread_to_thread_object (thread_info).release (); |