aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/cli/cli-utils.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index b5a92fb..8088e64 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,10 @@
2014-03-06 Yao Qi <yao@codesourcery.com>
+ * cli/cli-utils.c (get_number_trailer): Add '\n' at the end of
+ message.
+
+2014-03-06 Yao Qi <yao@codesourcery.com>
+
PR breakpoints/16508
* tracepoint.c (check_trace_running): New function.
(trace_find_command): Move code to check_trace_running and
diff --git a/gdb/cli/cli-utils.c b/gdb/cli/cli-utils.c
index e18e357..a0ebc11 100644
--- a/gdb/cli/cli-utils.c
+++ b/gdb/cli/cli-utils.c
@@ -50,7 +50,7 @@ get_number_trailer (char **pp, int trailer)
retval = value_as_long (val);
else
{
- printf_filtered (_("History value must have integer type."));
+ printf_filtered (_("History value must have integer type.\n"));
retval = 0;
}
}