Fix typo in skip_prologue_sal's comment.
authorJoel Brobecker <brobecker@gnat.com>
Tue, 25 Sep 2012 12:38:56 +0000 (12:38 +0000)
committerJoel Brobecker <brobecker@gnat.com>
Tue, 25 Sep 2012 12:38:56 +0000 (12:38 +0000)
gdb/ChangeLog:

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

gdb/ChangeLog
gdb/symtab.c

index 905d2bd..83c3171 100644 (file)
@@ -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-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
index 183e115..cbfe4d0 100644 (file)
@@ -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;