This is the mail archive of the
gdb-cvs@sourceware.org
mailing list for the GDB project.
[binutils-gdb] (ARI) remove trailing newline in call to error in stack.c::func_command
- From: Joel Brobecker <brobecke at sourceware dot org>
- To: gdb-cvs at sourceware dot org
- Date: 30 May 2018 23:44:27 -0000
- Subject: [binutils-gdb] (ARI) remove trailing newline in call to error in stack.c::func_command
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=61367c61574e4d1f422e0f560672c4e63116fd7a
commit 61367c61574e4d1f422e0f560672c4e63116fd7a
Author: Joel Brobecker <brobecker@adacore.com>
Date: Wed May 30 16:43:02 2018 -0700
(ARI) remove trailing newline in call to error in stack.c::func_command
gdb/ChangeLog:
* stack.c (func_command): Remove trailing newline in call to error.
Diff:
---
gdb/ChangeLog | 4 ++++
gdb/stack.c | 2 +-
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index ddb9277..f8f1acd 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -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
diff --git a/gdb/stack.c b/gdb/stack.c
index bfd9653..97ebc8b 100644
--- a/gdb/stack.c
+++ b/gdb/stack.c
@@ -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);