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 6ea384e..0066ae6 100644 --- a/gdb/python/py-inferior.c +++ b/gdb/python/py-inferior.c @@ -746,7 +746,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 = TYPE_LENGTH (value_type (val)); + bytes_len = value_type (val)->length (); } else { |