This is the mail archive of the gdb-patches@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]

[commit] Fix typos in comments


Committed as obvious:

commit f9acce4a4f411e78ebca90995c598ed231b104a3
Author: Eli Zaretskii <eliz@gnu.org>
Date:   Fri Oct 9 16:21:08 2015 +0300

    Fix typos in comments
    
    gdb/
    
    2015-10-09  Eli Zaretskii  <eliz@gnu.org>
    
    	* stack.c (print_stack_frame):
    	* utils.c (printchar): Fix typos in commentary.

diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index bf71afb..b1a274b 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+2015-10-09  Eli Zaretskii  <eliz@gnu.org>
+
+	* stack.c (print_stack_frame):
+	* utils.c (printchar): Fix typos in commentary.
+
 2015-10-08  Iain Buclaw  <ibuclaw@gdcproject.org>
 
 	* d-exp.y: (UnaryExpression): Support `type.sizeof' expressions.
diff --git a/gdb/stack.c b/gdb/stack.c
index e6156a7..8af34f3 100644
--- a/gdb/stack.c
+++ b/gdb/stack.c
@@ -141,7 +141,7 @@ frame_show_address (struct frame_info *frame,
   return get_frame_pc (frame) != sal.pc;
 }
 
-/* Show or print a stack frame FRAME briefly.  The output is format
+/* Show or print a stack frame FRAME briefly.  The output is formatted
    according to PRINT_LEVEL and PRINT_WHAT printing the frame's
    relative level, function name, argument list, and file name and
    line number.  If the frame's PC is not at the beginning of the
diff --git a/gdb/utils.c b/gdb/utils.c
index c7f00d9..afeff12 100644
--- a/gdb/utils.c
+++ b/gdb/utils.c
@@ -1495,7 +1495,7 @@ parse_escape (struct gdbarch *gdbarch, const char **string_ptr)
 
 /* Print the character C on STREAM as part of the contents of a literal
    string whose delimiter is QUOTER.  Note that this routine should only
-   be call for printing things which are independent of the language
+   be called for printing things which are independent of the language
    of the program being debugged.
 
    printchar will normally escape backslashes and instances of QUOTER. If


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