summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDon Breazeal <donb@codesourcery.com>2016-05-03 15:54:45 -0700
committerDon Breazeal <donb@codesourcery.com>2016-05-03 16:02:34 -0700
commita1ec3d244a75a6e6a2f54235c26e6b1e3b8a2482 (patch)
tree7f0b494e226e0461df99811f3a40ad8a3d24b3d2
parent6d6a648c0789fb227ee2adfb089fe0ce8174708d (diff)
downloadbinutils-gdb-a1ec3d244a75a6e6a2f54235c26e6b1e3b8a2482.tar.gz
Fix typos in gdb_pipe function comment
gdb/ChangeLog: 2016-05-03 Don Breazeal <donb@codesourcery.com> * serial.h (gdb_pipe): Fix argument names in comment.
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/serial.h4
2 files changed, 6 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 8627cb7072c..78b3abba8b3 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 10b06434198..84373f57ca9 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]);