From 2362e7f76adb395df19c867cd27c75f77a0ade6f Mon Sep 17 00:00:00 2001 From: Simon Marchi Date: Wed, 29 Aug 2018 10:26:11 -0400 Subject: 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. --- gdb/csky-tdep.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdb/csky-tdep.c') diff --git a/gdb/csky-tdep.c b/gdb/csky-tdep.c index 997ca93..972ac59 100644 --- a/gdb/csky-tdep.c +++ b/gdb/csky-tdep.c @@ -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); -- cgit v1.1