Remove newline at end of warning message

... to fix this ARI warning:

  gdb/csky-tdep.c:1612: gettext: trailing new line: A message should not have a trailing new line
  gdb/csky-tdep.c:1612:    warning (_("Invalid breakpoint address 0x%x is an odd number.\n"),

gdb/ChangeLog:

	* csky-tdep.c (csky_memory_insert_breakpoint): Remove newline at
	end of warning message.
This commit is contained in:
Simon Marchi 2018-08-29 10:26:11 -04:00
parent 9108bc33b1
commit 2362e7f76a
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2018-08-29 Simon Marchi <simon.marchi@ericsson.com>
* csky-tdep.c (csky_memory_insert_breakpoint): Remove newline at
end of warning message.
2018-08-29 Alan Hayward <alan.hayward@arm.com>
PR gdb/22943:

View File

@ -1609,7 +1609,7 @@ csky_memory_insert_breakpoint (struct gdbarch *gdbarch,
/* Sanity-check bp_address. */
if (bp_tgt->reqstd_address % 2)
warning (_("Invalid breakpoint address 0x%x is an odd number.\n"),
warning (_("Invalid breakpoint address 0x%x is an odd number."),
(unsigned int) bp_tgt->reqstd_address);
scoped_restore restore_memory
= make_scoped_restore_show_memory_breakpoints (1);