With the recent VG_(message) change,
VALGRIND_{PRINTF,PRINTF_BACKTRACE,INTERNAL_PRINTF} were no longer appending
newlines.  This meant that --trace-malloc=yes spewed everything onto a
single line, among other things.

Rather than adding the newline back in, I chose to offically change their
behaviour to not add the newlines, as this is more flexible (and the reason
for the underlying VG_(message) change).  I updated all the relevant places
I could find.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10694 a5019735-40e9-0310-863c-91ae7b9d1cf9
diff --git a/NEWS b/NEWS
index 71aed4e..4fcc62e 100644
--- a/NEWS
+++ b/NEWS
@@ -46,6 +46,16 @@
   [XXX: consider adding VALGRIND_COUNT_LEAK_BYTES as a synonym and
   deprecating VALGRIND_COUNT_LEAKS, which wasn't a good name to begin with]
 
+* The Valgrind client requests VALGRIND_PRINTF and VALGRIND_PRINTF_BACKTRACE
+  have been changed slightly.  Previously, the string was always printed
+  immediately on its own line.  Now, the string will be added to a buffer
+  but not printed until a newline is encountered, or other Valgrind output
+  is printed (note that for VALGRIND_PRINTF_BACKTRACE, the back-trace itself
+  is considered "other Valgrind output").  This allows you to use multiple
+  VALGRIND_PRINTF calls to build up a single output line, and also to print
+  multiple output lines with a single request (by embedding multiple
+  newlines in the string).
+
 * Memcheck's leak checker has been improved.  
   - The results for --leak-check=summary now match the summary results for
     --leak-check=full.  Previously they could differ because