(ARI) remove trailing newline in call to error in stack.c::func_command
authorJoel Brobecker <brobecker@adacore.com>
Wed, 30 May 2018 23:43:02 +0000 (16:43 -0700)
committerJoel Brobecker <brobecker@adacore.com>
Wed, 30 May 2018 23:43:02 +0000 (16:43 -0700)
gdb/ChangeLog:

        * stack.c (func_command): Remove trailing newline in call to error.

gdb/ChangeLog
gdb/stack.c

index ddb9277..f8f1acd 100644 (file)
@@ -1,3 +1,7 @@
+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
index bfd9653..97ebc8b 100644 (file)
@@ -2486,7 +2486,7 @@ func_command (const char *arg, int from_tty)
 
   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);