This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[commit] Fix ARI warning in darwin-nat.c::darwin_decode_message
- From: Joel Brobecker <brobecker at adacore dot com>
- To: gdb-patches at sourceware dot org
- Date: Mon, 7 Apr 2014 09:45:47 -0700
- Subject: [commit] Fix ARI warning in darwin-nat.c::darwin_decode_message
- Authentication-results: sourceware.org; auth=none
Hello,
FYI, I just pushed the following commit.
gdb/ChangeLog:
* darwin-nat.c (darwin_decode_message): Remove trailing '\n' at
end of warning message.
Thanks!
--
Joel
---
gdb/ChangeLog | 5 +++++
gdb/darwin-nat.c | 2 +-
2 files changed, 6 insertions(+), 1 deletion(-)
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;
}
--
1.8.3.2