Introduce pascal_value_print_inner
[deliverable/binutils-gdb.git] / gdb / p-valprint.c
index 7d087557fd32be6c332e6e9fbe5df95bac0fb38b..1361fbe298a6d5113ac8bd0427def0b9c48c6c00 100644 (file)
 #include "cli/cli-style.h"
 \f
 
+static void pascal_object_print_value_fields (struct type *, const gdb_byte *,
+                                             LONGEST,
+                                             CORE_ADDR, struct ui_file *,
+                                             int,
+                                             struct value *,
+                                             const struct value_print_options *,
+                                             struct type **, int);
+
 /* Decorations for Pascal.  */
 
 static const struct generic_val_print_decorations p_decorations =
@@ -417,6 +425,19 @@ pascal_val_print (struct type *type,
             TYPE_CODE (type));
     }
 }
+
+/* See p-lang.h.  */
+
+void
+pascal_value_print_inner (struct value *val, struct ui_file *stream,
+                         int recurse,
+                         const struct value_print_options *options)
+
+{
+  pascal_val_print (value_type (val), value_embedded_offset (val),
+                   value_address (val), stream, recurse, val, options);
+}
+
 \f
 void
 pascal_value_print (struct value *val, struct ui_file *stream,
@@ -529,7 +550,7 @@ pascal_object_is_vtbl_member (struct type *type)
    DONT_PRINT is an array of baseclass types that we
    should not print, or zero if called from top level.  */
 
-void
+static void
 pascal_object_print_value_fields (struct type *type, const gdb_byte *valaddr,
                                  LONGEST offset,
                                  CORE_ADDR address, struct ui_file *stream,
This page took 0.031329 seconds and 4 git commands to generate.