aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/stack.c2
2 files changed, 5 insertions, 1 deletions
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);