Fix ARI warning in darwin-nat.c::darwin_decode_message
authorJoel Brobecker <brobecker@adacore.com>
Mon, 7 Apr 2014 16:43:23 +0000 (09:43 -0700)
committerJoel Brobecker <brobecker@adacore.com>
Mon, 7 Apr 2014 16:44:40 +0000 (09:44 -0700)
gdb/ChangeLog:

        * darwin-nat.c (darwin_decode_message): Remove trailing '\n' at
        end of warning message.

gdb/ChangeLog
gdb/darwin-nat.c

index ea3d9763a6ecf869b48e7cd819e814275cdabae5..e97559311ed014bc65bac71ac06a4cf5ad42c11f 100644 (file)
@@ -1,3 +1,8 @@
+2014-04-07  Joel Brobecker  <brobecker@adacore.com>
+
+       * darwin-nat.c (darwin_decode_message): Remove trailing '\n' at
+       end of warning message.
+
 2014-04-03  Doug Evans  <dje@google.com>
 
        * dwarf2read.c (read_cutu_die_from_dwo): Fix assertion, at most one
index 7d2508e3aeaec9d7fb906603533dcc57067a823b..6f9a64a5451b204cd50bb9f8492689eb18cb51ea 100644 (file)
@@ -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;
 }