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 typo in skip_prologue_sal's comment.


Hello,

Another typo I just noticed...

gdb/ChangeLog:

        * symtab.c (skip_prologue_sal): Fix typo in comment.

Checked in.

---
 gdb/ChangeLog |    4 ++++
 gdb/symtab.c  |    2 +-
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 4c001b8..6ac13c0 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,9 @@
 2012-09-25  Joel Brobecker  <brobecker@adacore.com>
 
+	* symtab.c (skip_prologue_sal): Fix typo in comment.
+
+2012-09-25  Joel Brobecker  <brobecker@adacore.com>
+
 	* linespec.c (create_sals_line_offset): Fix typo in comment.
 
 2012-09-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
diff --git a/gdb/symtab.c b/gdb/symtab.c
index 183e115..cbfe4d0 100644
--- a/gdb/symtab.c
+++ b/gdb/symtab.c
@@ -2810,7 +2810,7 @@ skip_prologue_sal (struct symtab_and_line *sal)
   struct block *b, *function_block;
   int force_skip, skip;
 
-  /* Do not change the SAL is PC was specified explicitly.  */
+  /* Do not change the SAL if PC was specified explicitly.  */
   if (sal->explicit_pc)
     return;
 
-- 
1.7.9.5


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