From: Joel Brobecker Date: Mon, 7 Apr 2014 16:43:23 +0000 (-0700) Subject: Fix ARI warning in darwin-nat.c::darwin_decode_message X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=86ad98c392e804eae299eb6226e16732a521a9b4;p=binutils-gdb.git Fix ARI warning in darwin-nat.c::darwin_decode_message gdb/ChangeLog: * darwin-nat.c (darwin_decode_message): Remove trailing '\n' at end of warning message. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index ea3d9763a6e..e97559311ed 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2014-04-07 Joel Brobecker + + * darwin-nat.c (darwin_decode_message): Remove trailing '\n' at + end of warning message. + 2014-04-03 Doug Evans * dwarf2read.c (read_cutu_die_from_dwo): Fix assertion, at most one diff --git a/gdb/darwin-nat.c b/gdb/darwin-nat.c index 7d2508e3aea..6f9a64a5451 100644 --- a/gdb/darwin-nat.c +++ b/gdb/darwin-nat.c @@ -1017,7 +1017,7 @@ darwin_decode_message (mach_msg_header_t *hdr, } /* Unknown message. */ - warning (_("darwin: got unknown message, id: 0x%x\n"), hdr->msgh_id); + warning (_("darwin: got unknown message, id: 0x%x"), hdr->msgh_id); status->kind = TARGET_WAITKIND_IGNORE; return minus_one_ptid; }