diff options
author | Pierre Muller <muller@sourceware.org> | 2011-03-18 13:09:47 +0000 |
---|---|---|
committer | Pierre Muller <muller@sourceware.org> | 2011-03-18 13:09:47 +0000 |
commit | 4f1cdeec1082fcc9fe1dee4475efb00755eea794 (patch) | |
tree | 9fa4fe8d094b533595169f17c8bb82c0cd4964d2 | |
parent | 28e698f1b0542f7acbe861fd8add0ddd20238289 (diff) | |
download | gdb-4f1cdeec1082fcc9fe1dee4475efb00755eea794.zip gdb-4f1cdeec1082fcc9fe1dee4475efb00755eea794.tar.gz gdb-4f1cdeec1082fcc9fe1dee4475efb00755eea794.tar.bz2 |
ARI fixes: Messages should have no trailing new lines.
* darwin-nat.c (mach_check_error): Remove trailing new line from
warning function call message.
* record.c (bfdcore_read): Idem for error call.
-rw-r--r-- | gdb/ChangeLog | 7 | ||||
-rw-r--r-- | gdb/darwin-nat.c | 2 | ||||
-rw-r--r-- | gdb/record.c | 2 |
3 files changed, 9 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 65771e5..60f9fd7 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,12 @@ 2011-03-18 Pierre Muller <muller@ics.u-strasbg.fr> + ARI fixes: Messages should have no trailing new lines. + * darwin-nat.c (mach_check_error): Remove trailing new line from + warning function call message. + * record.c (bfdcore_read): Idem for error call. + +2011-03-18 Pierre Muller <muller@ics.u-strasbg.fr> + * common/signals.c (target_signal_from_host): Add _ markup to error function call message. (target_signal_to_host): Add _ markup and remove trailing new line diff --git a/gdb/darwin-nat.c b/gdb/darwin-nat.c index 4e316bb..7be85d5 100644 --- a/gdb/darwin-nat.c +++ b/gdb/darwin-nat.c @@ -196,7 +196,7 @@ mach_check_error (kern_return_t ret, const char *file, if (func == NULL) func = _("[UNKNOWN]"); - warning (_("Mach error at \"%s:%u\" in function \"%s\": %s (0x%lx)\n"), + warning (_("Mach error at \"%s:%u\" in function \"%s\": %s (0x%lx)"), file, line, func, mach_error_string (ret), (unsigned long) ret); } diff --git a/gdb/record.c b/gdb/record.c index 7cc26da..1195038 100644 --- a/gdb/record.c +++ b/gdb/record.c @@ -2154,7 +2154,7 @@ bfdcore_read (bfd *obfd, asection *osec, void *buf, int len, int *offset) if (ret) *offset += len; else - error (_("Failed to read %d bytes from core file %s ('%s').\n"), + error (_("Failed to read %d bytes from core file %s ('%s')."), len, bfd_get_filename (obfd), bfd_errmsg (bfd_get_error ())); } |