aboutsummaryrefslogtreecommitdiff
path: root/gdb/p-valprint.c
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2011-02-07 17:49:32 +0000
committerPedro Alves <palves@redhat.com>2011-02-07 17:49:32 +0000
commit32b72a4208acf51e0d12ad77ea5ddf671b08a963 (patch)
tree202b2ab6908194dc537ef102f6f2ddc364424d12 /gdb/p-valprint.c
parenta449c2d800cba53351e3e0c009c2b14bf1eff362 (diff)
downloadgdb-32b72a4208acf51e0d12ad77ea5ddf671b08a963.zip
gdb-32b72a4208acf51e0d12ad77ea5ddf671b08a963.tar.gz
gdb-32b72a4208acf51e0d12ad77ea5ddf671b08a963.tar.bz2
* valprint.c (val_print): Extend comment.
* ada-valprint.c (ada_valprint): Rewrite comment deferring interface explanation to val_print. (ada_val_print_array): Adjust comment to current interface. (print_field_values): Adjust comment to current interface. * c-valprint.c (c_val_print): Rewrite comment deferring interface explanation to val_print. * f-valprint.c (f_val_print): Ditto. * jv-valprint.c (java_val_print): Ditto. * m2-valprint.c (m2_val_print): Ditto. * p-valprint.c (pascal_val_print): Ditto.
Diffstat (limited to 'gdb/p-valprint.c')
-rw-r--r--gdb/p-valprint.c12
1 files changed, 3 insertions, 9 deletions
diff --git a/gdb/p-valprint.c b/gdb/p-valprint.c
index ca7606a..8e79070 100644
--- a/gdb/p-valprint.c
+++ b/gdb/p-valprint.c
@@ -40,15 +40,9 @@
#include "cp-support.h"
-
-
-/* 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
pascal_val_print (struct type *type, const gdb_byte *valaddr,