summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Kratochvil <jan.kratochvil@redhat.com>2013-01-11 21:34:27 +0000
committerJan Kratochvil <jan.kratochvil@redhat.com>2013-01-11 21:34:27 +0000
commit46573f8acf82edbbb084b049674042875ebd8f52 (patch)
tree93a3b72dd0d2c6929590d369a7db2c02a0acf5d2
parentd7fcfbb5946ca2901a8dc9b627625fe8c5c936de (diff)
downloadgdb-46573f8acf82edbbb084b049674042875ebd8f52.tar.gz
gdb/
* macrocmd.c (macro_inform_no_debuginfo): Use puts_filtered instead of fputs_filtered. Append trailing newline.
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/macrocmd.c4
2 files changed, 6 insertions, 3 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index a4e0b747ebd..fb9545da04e 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -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>
diff --git a/gdb/macrocmd.c b/gdb/macrocmd.c
index e2967e7b531..9e4b0838901 100644
--- a/gdb/macrocmd.c
+++ b/gdb/macrocmd.c
@@ -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