diff options
author | Pedro Alves <pedro@codesourcery.com> | 2011-02-07 17:49:30 +0000 |
---|---|---|
committer | Pedro Alves <pedro@codesourcery.com> | 2011-02-07 17:49:30 +0000 |
commit | 4478eb9a48d1ff72cc11dc6139b41a61a0bf910a (patch) | |
tree | 8fe6392027b48456df9e26f5ce73293c4b20ff3f /gdb/c-valprint.c | |
parent | 4f9ed92e82a1ab3acb6589bb509c5a127e333f7f (diff) | |
download | gdb-4478eb9a48d1ff72cc11dc6139b41a61a0bf910a.tar.gz |
* 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/c-valprint.c')
-rw-r--r-- | gdb/c-valprint.c | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/gdb/c-valprint.c b/gdb/c-valprint.c index 287dc0ba2a7..baad597cf02 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, |