diff options
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/macrocmd.c | 4 |
2 files changed, 6 insertions, 3 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index a4e0b74..fb9545d 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 e2967e7..9e4b083 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 |