aboutsummaryrefslogtreecommitdiff
path: root/gdb/c-valprint.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/c-valprint.c')
-rw-r--r--gdb/c-valprint.c10
1 files changed, 3 insertions, 7 deletions
diff --git a/gdb/c-valprint.c b/gdb/c-valprint.c
index 287dc0b..baad597 100644
--- a/gdb/c-valprint.c
+++ b/gdb/c-valprint.c
@@ -142,13 +142,9 @@ c_textual_element_type (struct type *type, char format)
return 0;
}
-
-/* Print data of type TYPE located at VALADDR (within GDB), which came
- from the inferior at address ADDRESS, onto stdio stream STREAM
- according to OPTIONS. The data at VALADDR is in target byte order.
-
- If the data are a string pointer, returns the number of string
- characters printed. */
+/* See val_print for a description of the various parameters of this
+ function; they are identical. The semantics of the return value is
+ also identical to val_print. */
int
c_val_print (struct type *type, const gdb_byte *valaddr,