]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/mi/mi-cmd-stack.c
gdb: remove TYPE_LENGTH
[thirdparty/binutils-gdb.git] / gdb / mi / mi-cmd-stack.c
index 0fe204dbc666a0dfeb7b9af539aa91ae97d866bc..70c51e6186e1ce7fe381634edbaab9046c23dfb9 100644 (file)
@@ -508,7 +508,7 @@ list_arg_or_local (const struct frame_arg *arg, enum what_to_list what,
          || (val_print_scalar_type_p (value_type (arg->val))
              && !value_bytes_available (arg->val,
                                         value_embedded_offset (arg->val),
-                                        TYPE_LENGTH (value_type (arg->val))))))
+                                        value_type (arg->val)->length ()))))
     return;
 
   gdb::optional<ui_out_emit_tuple> tuple_emitter;