gdb/ChangeLog:
        * stack.c (func_command): Remove trailing newline in call to error.
+2018-05-30  Joel Brobecker  <brobecker@adacore.com>
+
+       * stack.c (func_command): Remove trailing newline in call to error.
+
 2018-05-30  Simon Marchi  <simon.marchi@ericsson.com>
 
        * regcache.h (regcache_raw_collect): Remove, update callers to
 
 
   struct frame_info *frame = find_frame_for_function (arg);
   if (frame == NULL)
-    error (_("'%s' not within current stack frame.\n"), arg);
+    error (_("'%s' not within current stack frame."), arg);
   if (frame != get_selected_frame (NULL))
     {
       select_frame (frame);