diff options
author | Simon Marchi <simon.marchi@ericsson.com> | 2018-08-29 10:26:11 -0400 |
---|---|---|
committer | Simon Marchi <simon.marchi@ericsson.com> | 2018-08-29 10:26:11 -0400 |
commit | 2362e7f76adb395df19c867cd27c75f77a0ade6f (patch) | |
tree | 45ee7b1e6f779b80840b600905f1fd3bdcc2127a /gdb | |
parent | 9108bc33b1ca0b2e930c0cce5b1a0394e33e86be (diff) | |
download | gdb-2362e7f76adb395df19c867cd27c75f77a0ade6f.zip gdb-2362e7f76adb395df19c867cd27c75f77a0ade6f.tar.gz gdb-2362e7f76adb395df19c867cd27c75f77a0ade6f.tar.bz2 |
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.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/csky-tdep.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 373e1b1..32054c6 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -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: 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); |