diff options
Diffstat (limited to 'gdb/python/py-inferior.c')
-rw-r--r-- | gdb/python/py-inferior.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/python/py-inferior.c b/gdb/python/py-inferior.c index 9b3385c..1a3dcc2 100644 --- a/gdb/python/py-inferior.c +++ b/gdb/python/py-inferior.c @@ -715,7 +715,7 @@ infpy_thread_from_thread_handle (PyObject *self, PyObject *args, PyObject *kw) { struct value *val = value_object_to_value (handle_obj); bytes = value_contents_all (val).data (); - bytes_len = value_type (val)->length (); + bytes_len = val->type ()->length (); } else { |