This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[ob/pushed] Fix typos in gdb_pipe function comment
- From: Don Breazeal <donb at codesourcery dot com>
- To: <gdb-patches at sourceware dot org>
- Date: Tue, 3 May 2016 16:07:31 -0700
- Subject: [ob/pushed] Fix typos in gdb_pipe function comment
- Authentication-results: sourceware.org; auth=none
This patch fixes mis-typed argument names in the function
comment for gdb_pipe. Committed as obvious.
Thanks
--Don
gdb/ChangeLog:
2016-05-03 Don Breazeal <donb@codesourcery.com>
* serial.h (gdb_pipe): Fix argument names in comment.
---
gdb/ChangeLog | 4 ++++
gdb/serial.h | 4 ++--
2 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 8627cb7..78b3abb 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,7 @@
+2016-05-03 Don Breazeal <donb@codesourcery.com>
+
+ * serial.h (gdb_pipe): Fix argument names in comment.
+
2016-05-03 Pedro Alves <palves@redhat.com>
PR python/20037
diff --git a/gdb/serial.h b/gdb/serial.h
index 10b0643..84373f5 100644
--- a/gdb/serial.h
+++ b/gdb/serial.h
@@ -75,8 +75,8 @@ extern void serial_ref (struct serial *scb);
extern void serial_unref (struct serial *scb);
-/* Create a pipe, and put the read end in files[0], and the write end
- in filde[1]. Returns 0 for success, negative value for error (in
+/* Create a pipe, and put the read end in FILDES[0], and the write end
+ in FILDES[1]. Returns 0 for success, negative value for error (in
which case errno contains the error). */
extern int gdb_pipe (int fildes[2]);
--
1.8.1.1