[binutils-gdb] Fix typo in comment

Simon Marchi simark@sourceware.org
Tue Aug 23 17:51:00 GMT 2016


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

commit 34f81801be0b294a93ac73bac6f6195a66d10b98
Author: Simon Marchi <simon.marchi@ericsson.com>
Date:   Tue Aug 23 13:49:56 2016 -0400

    Fix typo in comment
    
    gdb/ChangeLog:
    
    	* stack.c (parse_frame_specification): Fix typo in comment.

Diff:
---
 gdb/ChangeLog | 4 ++++
 gdb/stack.c   | 4 ++--
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 08a9bb5..85de2e4 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,7 @@
+2016-08-23  Simon Marchi  <simon.marchi@ericsson.com>
+
+	* stack.c (parse_frame_specification): Fix typo in comment.
+
 2016-08-23  Pedro Alves  <palves@redhat.com>
 
 	PR gdb/20494
diff --git a/gdb/stack.c b/gdb/stack.c
index e890949..417e887 100644
--- a/gdb/stack.c
+++ b/gdb/stack.c
@@ -1277,8 +1277,8 @@ print_frame (struct frame_info *frame, int print_level,
 
 /* Read a frame specification in whatever the appropriate format is from
    FRAME_EXP.  Call error() if the specification is in any way invalid (so
-   this function never returns NULL).  When SEPECTED_P is non-NULL set its
-   target to indicate that the default selected frame was used.  */
+   this function never returns NULL).  When SELECTED_FRAME_P is non-NULL
+   set its target to indicate that the default selected frame was used.  */
 
 static struct frame_info *
 parse_frame_specification (const char *frame_exp, int *selected_frame_p)



More information about the Gdb-cvs mailing list