gdb: microblaze: delete useless stubs
[deliverable/binutils-gdb.git] / gdb / jv-typeprint.c
index 5338c95fa387892be5268092e0327c85c9401e8f..0bf6d10b31e66022d8eaa83cefc9ce33a7e38eff 100644 (file)
@@ -168,12 +168,12 @@ java_type_print_base (struct type *type, struct ui_file *stream, int show,
            {
              QUIT;
              /* Don't print out virtual function table.  */
-             if (strncmp (TYPE_FIELD_NAME (type, i), "_vptr", 5) == 0
+             if (startswith (TYPE_FIELD_NAME (type, i), "_vptr")
                  && is_cplus_marker ((TYPE_FIELD_NAME (type, i))[5]))
                continue;
 
              /* Don't print the dummy field "class".  */
-             if (strncmp (TYPE_FIELD_NAME (type, i), "class", 5) == 0)
+             if (startswith (TYPE_FIELD_NAME (type, i), "class"))
                continue;
 
              print_spaces_filtered (level + 4, stream);
This page took 0.023138 seconds and 4 git commands to generate.