Add a newline in output messages
Hi, GDB prints two warnings in one single line, as below: (gdb) p 1.2 $1 = 1.2 (gdb) enable $1.2 History value must have integer type.Bad breakpoint number '$1' This patch adds '\n' at the end of message. gdb: 2014-03-06 Yao Qi <yao@codesourcery.com> * cli/cli-utils.c (get_number_trailer): Add '\n' at the end of message.
This commit is contained in:
parent
cc3da68801
commit
2217da06d8
|
@ -1,3 +1,8 @@
|
||||||
|
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>
|
2014-03-06 Yao Qi <yao@codesourcery.com>
|
||||||
|
|
||||||
PR breakpoints/16508
|
PR breakpoints/16508
|
||||||
|
|
|
@ -50,7 +50,7 @@ get_number_trailer (char **pp, int trailer)
|
||||||
retval = value_as_long (val);
|
retval = value_as_long (val);
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
printf_filtered (_("History value must have integer type."));
|
printf_filtered (_("History value must have integer type.\n"));
|
||||||
retval = 0;
|
retval = 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue