fixup position of #ifdef BFD64 for powerpc delta recently applied.
[deliverable/binutils-gdb.git] / gdb / cp-abi.c
index eb31270367e4ca612a06348213bd8c5b789ee061..d4eb0a00d0870648bac4e7648d747e41af238d42 100644 (file)
@@ -60,16 +60,26 @@ is_operator_name (const char *name)
   return (*current_cp_abi.is_operator_name) (name);
 }
 
-value_ptr
-value_virtual_fn_field (value_ptr * arg1p, struct fn_field * f, int j,
+int
+baseclass_offset (struct type *type, int index, char *valaddr,
+                 CORE_ADDR address)
+{
+  if (current_cp_abi.baseclass_offset == NULL)
+    error ("ABI doesn't define required function baseclass_offset");
+  return (*current_cp_abi.baseclass_offset) (type, index, valaddr, address);
+}
+
+struct value *
+value_virtual_fn_field (struct value **arg1p, struct fn_field * f, int j,
                        struct type * type, int offset)
 {
   if ((current_cp_abi.virtual_fn_field) == NULL)
     return NULL;
   return (*current_cp_abi.virtual_fn_field) (arg1p, f, j, type, offset);
 }
+
 struct type *
-value_rtti_type (value_ptr v, int *full, int *top, int *using_enc)
+value_rtti_type (struct value *v, int *full, int *top, int *using_enc)
 {
   if ((current_cp_abi.rtti_type) == NULL)
     return NULL;
This page took 0.024187 seconds and 4 git commands to generate.