aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@adacore.com>2018-05-30 16:43:02 -0700
committerJoel Brobecker <brobecker@adacore.com>2018-05-30 16:43:02 -0700
commit61367c61574e4d1f422e0f560672c4e63116fd7a (patch)
tree3ea33231ec179c8cfab070bc0c0e28201b542456 /gdb
parent34a79281e4bd5d1a7f1d22a5a5be1ac2db56a3fc (diff)
downloadgdb-61367c61574e4d1f422e0f560672c4e63116fd7a.zip
gdb-61367c61574e4d1f422e0f560672c4e63116fd7a.tar.gz
gdb-61367c61574e4d1f422e0f560672c4e63116fd7a.tar.bz2
(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.
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);