Move line_header_hash to dwarf2_per_objfile
[deliverable/binutils-gdb.git] / gdb / gnu-v2-abi.c
index d4cf6b95629c8152d376432a99ee3e5c85c335f6..9238f10986d9eb9f69a86bdc99250a60a60ece5f 100644 (file)
@@ -348,7 +348,7 @@ gnuv2_baseclass_offset (struct type *type, int index,
   if (BASETYPE_VIA_VIRTUAL (type, index))
     {
       /* Must hunt for the pointer to this virtual baseclass.  */
-      int i, len = TYPE_NFIELDS (type);
+      int i, len = type->num_fields ();
       int n_baseclasses = TYPE_N_BASECLASSES (type);
 
       /* First look for the virtual baseclass pointer
This page took 0.024293 seconds and 4 git commands to generate.