From 61367c61574e4d1f422e0f560672c4e63116fd7a Mon Sep 17 00:00:00 2001 From: Joel Brobecker Date: Wed, 30 May 2018 16:43:02 -0700 Subject: [PATCH] (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. --- gdb/ChangeLog | 4 ++++ gdb/stack.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index ddb9277d24f..f8f1acd86a8 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2018-05-30 Joel Brobecker + + * stack.c (func_command): Remove trailing newline in call to error. + 2018-05-30 Simon Marchi * regcache.h (regcache_raw_collect): Remove, update callers to diff --git a/gdb/stack.c b/gdb/stack.c index bfd9653ccaf..97ebc8bc23f 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); -- 2.30.2