gdb/
authorJan Kratochvil <jan.kratochvil@redhat.com>
Fri, 11 Jan 2013 21:34:29 +0000 (21:34 +0000)
committerJan Kratochvil <jan.kratochvil@redhat.com>
Fri, 11 Jan 2013 21:34:29 +0000 (21:34 +0000)
* macrocmd.c (macro_inform_no_debuginfo): Use puts_filtered instead of
fputs_filtered.  Append trailing newline.

gdb/ChangeLog
gdb/macrocmd.c

index a4e0b74..fb9545d 100644 (file)
@@ -1,3 +1,8 @@
+2013-01-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * macrocmd.c (macro_inform_no_debuginfo): Use puts_filtered instead of
+       fputs_filtered.  Append trailing newline.
+
 2013-01-11  Yao Qi  <yao@codesourcery.com>
            Stan Shebs  <stan@codesourcery.com>
 
index e2967e7..9e4b083 100644 (file)
@@ -49,9 +49,7 @@ macro_command (char *arg, int from_tty)
 /* Prints an informational message regarding the lack of macro information.  */
 static void macro_inform_no_debuginfo()
 {
-  fputs_filtered ("GDB has no preprocessor macro information for "
-                  "that code.",
-                  gdb_stdout);
+  puts_filtered ("GDB has no preprocessor macro information for that code.\n");
 }
 
 static void