This is the mail archive of the gdb-cvs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[binutils-gdb] Fix typos in gdb_pipe function comment


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=a1ec3d244a75a6e6a2f54235c26e6b1e3b8a2482

commit a1ec3d244a75a6e6a2f54235c26e6b1e3b8a2482
Author: Don Breazeal <donb@codesourcery.com>
Date:   Tue May 3 15:54:45 2016 -0700

    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.

Diff:
---
 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]);


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]