aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@adacore.com>2014-04-07 09:43:23 -0700
committerJoel Brobecker <brobecker@adacore.com>2014-04-07 09:44:40 -0700
commit86ad98c392e804eae299eb6226e16732a521a9b4 (patch)
tree45ed60736726809d7d89aeb7a1d927b514ea4f9f
parent5063a42103f83b921b0b6899acdd5d4d920fdc36 (diff)
downloadfsf-binutils-gdb-86ad98c392e804eae299eb6226e16732a521a9b4.zip
fsf-binutils-gdb-86ad98c392e804eae299eb6226e16732a521a9b4.tar.gz
fsf-binutils-gdb-86ad98c392e804eae299eb6226e16732a521a9b4.tar.bz2
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.
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/darwin-nat.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index ea3d976..e975593 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -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
diff --git a/gdb/darwin-nat.c b/gdb/darwin-nat.c
index 7d2508e..6f9a64a 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;
}