gdb: add target_ops::supports_displaced_step
[deliverable/binutils-gdb.git] / gdb / valprint.h
index 1aca29463f44687af62c556446add9c849935e7a..57bc0339fcb7ce7e3bf3f27edae57a104f64015f 100644 (file)
@@ -128,18 +128,22 @@ extern void maybe_print_array_index (struct type *index_type, LONGEST index,
                                      struct ui_file *stream,
                                     const struct value_print_options *);
 
-extern void val_print_array_elements (struct type *, LONGEST,
-                                     CORE_ADDR, struct ui_file *, int,
-                                     struct value *,
-                                     const struct value_print_options *,
-                                     unsigned int);
-
-extern void val_print_scalar_formatted (struct type *,
-                                       LONGEST,
-                                       struct value *,
+
+/* Print elements of an array.  */
+
+extern void value_print_array_elements (struct value *, struct ui_file *, int,
                                        const struct value_print_options *,
-                                       int,
-                                       struct ui_file *);
+                                       unsigned int);
+
+/* Print a scalar according to OPTIONS and SIZE on STREAM.  Format 'i'
+   is not supported at this level.
+
+   This is how the elements of an array or structure are printed
+   with a format.  */
+
+extern void value_print_scalar_formatted
+  (struct value *val, const struct value_print_options *options,
+   int size, struct ui_file *stream);
 
 extern void print_binary_chars (struct ui_file *, const gdb_byte *,
                                unsigned int, enum bfd_endian, bool);
@@ -204,13 +208,6 @@ struct generic_val_print_decorations
 };
 
 
-extern void generic_val_print (struct type *type,
-                              int embedded_offset, CORE_ADDR address,
-                              struct ui_file *stream, int recurse,
-                              struct value *original_value,
-                              const struct value_print_options *options,
-                              const struct generic_val_print_decorations *);
-
 /* Print a value in a generic way.  VAL is the value, STREAM is where
    to print it, RECURSE is the recursion depth, OPTIONS describe how
    the printing should be done, and D is the language-specific
This page took 0.044758 seconds and 4 git commands to generate.