aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2015-10-09 16:21:08 +0300
committerEli Zaretskii <eliz@gnu.org>2015-10-09 16:21:08 +0300
commitf9acce4a4f411e78ebca90995c598ed231b104a3 (patch)
tree6e0cb55a8152201bfb271cd42e0c5a56032af4fa
parentabcef95aa511a845f0599178be09403348ba4bad (diff)
downloadgdb-f9acce4a4f411e78ebca90995c598ed231b104a3.zip
gdb-f9acce4a4f411e78ebca90995c598ed231b104a3.tar.gz
gdb-f9acce4a4f411e78ebca90995c598ed231b104a3.tar.bz2
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.
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/stack.c2
-rw-r--r--gdb/utils.c2
3 files changed, 7 insertions, 2 deletions
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