(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.
This commit is contained in:
Joel Brobecker 2018-05-30 16:43:02 -07:00
parent 34a79281e4
commit 61367c6157
2 changed files with 5 additions and 1 deletions

View 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

View 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);