]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
Fix the documentation of valprint.c:value_print.
authorJoel Brobecker <brobecker@gnat.com>
Sat, 9 Jan 2010 11:46:13 +0000 (11:46 +0000)
committerJoel Brobecker <brobecker@gnat.com>
Sat, 9 Jan 2010 11:46:13 +0000 (11:46 +0000)
        * valprint.c (value_print): Update the function description to
        mention that the syntax of the output follows the current_language,
        not necessarily C.

gdb/ChangeLog
gdb/valprint.c

index da66b7bed4e5e55336e006a4edc4512a802405f6..423fc5b5ceb4867c547e2683e25a9a1b2085aab2 100644 (file)
@@ -1,3 +1,10 @@
+2010-01-09  Joel Brobecker  <brobecker@adacore.com>
+
+       Fix the documentation of valprint.c:value_print.
+       * valprint.c (value_print): Update the function description to
+       mention that the syntax of the output follows the current_language,
+       not necessarily C.
+
 2010-01-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
 
        Fix displacement of separate debug info files.
index b105d7ecae2e441d03f2f4382cdd955d1484d815..9468b2209453d0ee1236bd2cb2ac9c2db805b695 100644 (file)
@@ -366,10 +366,11 @@ common_val_print (struct value *val, struct ui_file *stream, int recurse,
                    stream, recurse, options, language);
 }
 
-/* Print the value VAL in C-ish syntax on stream STREAM according to
-   OPTIONS.
-   If the object printed is a string pointer, returns
-   the number of string bytes printed.  */
+/* Print on stream STREAM the value VAL according to OPTIONS.  The value
+   is printed using the current_language syntax.
+
+   If the object printed is a string pointer, return the number of string
+   bytes printed.  */
 
 int
 value_print (struct value *val, struct ui_file *stream,